notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate: misc fixes and additions
[ia32rtools.git]
/
tests
/
ops.expect.c
diff --git
a/tests/ops.expect.c
b/tests/ops.expect.c
index
4a59e21
..
f036bed
100644
(file)
--- a/
tests/ops.expect.c
+++ b/
tests/ops.expect.c
@@
-35,11
+35,11
@@
loop:
edx = (s32)eax >> 31; // cdq
eax = ecx ? __builtin_ffs(ecx) - 1 : 0; // bsf
tmp64 = ((u64)edx << 32) | eax;
edx = (s32)eax >> 31; // cdq
eax = ecx ? __builtin_ffs(ecx) - 1 : 0; // bsf
tmp64 = ((u64)edx << 32) | eax;
- tmp64 = (s64)tmp64 <<
=
LOBYTE(ecx);
+ tmp64 = (s64)tmp64 << LOBYTE(ecx);
edx = tmp64 >> 32; eax = tmp64; // allshl
edi = eax;
tmp64 = ((u64)edx << 32) | eax;
edx = tmp64 >> 32; eax = tmp64; // allshl
edi = eax;
tmp64 = ((u64)edx << 32) | eax;
- tmp64 = (s64)tmp64 >>
=
LOBYTE(ecx);
+ tmp64 = (s64)tmp64 >> LOBYTE(ecx);
edx = tmp64 >> 32; eax = tmp64; // allshr
eax = __builtin_bswap32(eax);
ecx ^= eax;
edx = tmp64 >> 32; eax = tmp64; // allshr
eax = __builtin_bswap32(eax);
ecx ^= eax;