translate: misc fixes and additions
[ia32rtools.git] / tests / ops.expect.c
index 4a59e21..f036bed 100644 (file)
@@ -35,11 +35,11 @@ loop:
   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;
-  tmp64 = (s64)tmp64 >>= LOBYTE(ecx);
+  tmp64 = (s64)tmp64 >> LOBYTE(ecx);
   edx = tmp64 >> 32; eax = tmp64;  // allshr
   eax = __builtin_bswap32(eax);
   ecx ^= eax;