mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-31 20:37:52 +00:00
armemu: Fix SASX
This commit is contained in:
parent
b4256431aa
commit
62fd564854
1 changed files with 1 additions and 1 deletions
|
@ -5760,7 +5760,7 @@ L_stm_s_takeabort:
|
||||||
s16 a2 = ((state->Reg[src1] >> 0x10) & 0xFFFF);
|
s16 a2 = ((state->Reg[src1] >> 0x10) & 0xFFFF);
|
||||||
s16 b1 = (state->Reg[src2] & 0xFFFF);
|
s16 b1 = (state->Reg[src2] & 0xFFFF);
|
||||||
s16 b2 = ((state->Reg[src2] >> 0x10) & 0xFFFF);
|
s16 b2 = ((state->Reg[src2] >> 0x10) & 0xFFFF);
|
||||||
state->Reg[tar] = ((a2 - b1) & 0xFFFF) | (((a2 + b1) & 0xFFFF) << 0x10);
|
state->Reg[tar] = ((a1 - b2) & 0xFFFF) | (((a2 + b1) & 0xFFFF) << 0x10);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else printf ("Unhandled v6 insn: sadd/ssub\n");
|
else printf ("Unhandled v6 insn: sadd/ssub\n");
|
||||||
|
|
Loading…
Reference in a new issue