fix SparcV9 compared value

The Comparison include one extra `7`, what overflow the 32bits value and is never true.
This commit is contained in:
Rubens Brandão 2024-07-03 09:58:12 -03:00 committed by GitHub
parent 937191c10e
commit 7dd6e04b0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -918,7 +918,7 @@ callreloff: reloc is disp30 [reloc=inst_start+4*disp30;] { export *:$(SIZE) rel
denom:$(SIZE) = regorimm & 0xffffffff;
RD = numerator s/ denom;
zeroflags(RD);
i_vf = (RD s>= 0x80000000) || (RD s<= -0x7ffffffff);
i_vf = (RD s>= 0x80000000) || (RD s<= -0x7fffffff);
i_cf = 0;
x_vf = 0;
x_cf = 0;