sh4: fix copy-paste errors
This commit is contained in:
parent
65ee273b61
commit
d1ce9a2d5a
@ -2,6 +2,6 @@
|
|||||||
op1 ← SignExtend32(Rm);
|
op1 ← SignExtend32(Rm);
|
||||||
op2 ← SignExtend32(Rn);
|
op2 ← SignExtend32(Rn);
|
||||||
op2 ← op2 + op1;
|
op2 ← op2 + op1;
|
||||||
t ← INT ((op2 < (- 231)) OR (op2 ≥ 231));
|
t ← INT ((op2 < (- (1 << 31))) OR (op2 ≥ (1 << 31)));
|
||||||
Rn ← Register(op2);
|
Rn ← Register(op2);
|
||||||
T ← Bit(t);
|
T ← Bit(t);
|
||||||
|
@ -21,9 +21,10 @@ result ← mac + mul;
|
|||||||
IF (s = 1)
|
IF (s = 1)
|
||||||
IF (((result ⊕ mac) ∧ (result ⊕ mul))< 63 FOR 1 > = 1)
|
IF (((result ⊕ mac) ∧ (result ⊕ mul))< 63 FOR 1 > = 1)
|
||||||
IF (mac< 63 FOR 1 > = 0)
|
IF (mac< 63 FOR 1 > = 0)
|
||||||
result ← 247 - 1;
|
result ← (1 << 47) - 1;
|
||||||
|
ELSE
|
||||||
|
result ← - (1 << 47);
|
||||||
ELSE
|
ELSE
|
||||||
ELSEresult ← - 247;
|
|
||||||
result ← SignedSaturate48(result);
|
result ← SignedSaturate48(result);
|
||||||
macl ← result;
|
macl ← result;
|
||||||
mach ← result >> 32;
|
mach ← result >> 32;
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
op1 ← SignExtend32(Rm);
|
op1 ← SignExtend32(Rm);
|
||||||
op2 ← SignExtend32(Rn);
|
op2 ← SignExtend32(Rn);
|
||||||
op2 ← op2 - op1;
|
op2 ← op2 - op1;
|
||||||
t ← INT ((op2 < (- 231)) OR (op2 ≥ 231));
|
t ← INT ((op2 < (- (1 << 31))) OR (op2 ≥ (1 << 31)));
|
||||||
Rn ← Register(op2);
|
Rn ← Register(op2);
|
||||||
T ← Bit(t);
|
T ← Bit(t);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user