mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 20:14:17 +01:00
armemu: Fix missing Q flag check for SMLSD.
This commit is contained in:
parent
3337b84620
commit
bee4ff8454
@ -6481,8 +6481,12 @@ L_stm_s_takeabort:
|
|||||||
else {
|
else {
|
||||||
state->Reg[rd_idx] = product1 - product2;
|
state->Reg[rd_idx] = product1 - product2;
|
||||||
|
|
||||||
if (BITS(12, 15) != 15)
|
if (BITS(12, 15) != 15) {
|
||||||
state->Reg[rd_idx] += state->Reg[ra_idx];
|
state->Reg[rd_idx] += state->Reg[ra_idx];
|
||||||
|
|
||||||
|
if (ARMul_AddOverflowQ(product1 - product2, state->Reg[ra_idx]))
|
||||||
|
SETQ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user