x86: improve handling of insns with ambiguous operand sizes
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-lock-1.s
index bbd71c8d3620962100e4dc56165bfb6269caf05b..ac1f8ee6f147640f21b9ab6fe28f872b9ac16d05 100644 (file)
@@ -3,17 +3,17 @@
        .text
 foo:
        lock add %eax, (%rbx)
-       lock add $0x64, (%rbx)
+       lock addl $0x64, (%rbx)
        lock adc %eax, (%rbx)
-       lock adc $0x64, (%rbx)
+       lock adcl $0x64, (%rbx)
        lock and %eax, (%rbx)
-       lock and $0x64, (%rbx)
+       lock andl $0x64, (%rbx)
        lock btc %eax, (%rbx)
-       lock btc $0x64, (%rbx)
+       lock btcl $0x64, (%rbx)
        lock btr %eax, (%rbx)
-       lock btr $0x64, (%rbx)
+       lock btrl $0x64, (%rbx)
        lock bts %eax, (%rbx)
-       lock bts $0x64, (%rbx)
+       lock btsl $0x64, (%rbx)
        lock cmpxchg %eax,(%rbx)
        lock cmpxchg8b (%rbx)
        lock cmpxchg16b (%rbx)
@@ -22,16 +22,16 @@ foo:
        lock negl (%rbx)
        lock notl (%rbx)
        lock or %eax, (%rbx)
-       lock or $0x64, (%rbx)
+       lock orl $0x64, (%rbx)
        lock sbb %eax, (%rbx)
-       lock sbb $0x64, (%rbx)
+       lock sbbl $0x64, (%rbx)
        lock sub %eax, (%rbx)
-       lock sub $0x64, (%rbx)
+       lock subl $0x64, (%rbx)
        lock xadd %eax, (%rbx)
        lock xchg (%rbx), %eax
        lock xchg %eax, (%rbx)
        lock xor %eax, (%rbx)
-       lock xor $0x64, (%rbx)
+       lock xorl $0x64, (%rbx)
 
        .intel_syntax noprefix
        lock add DWORD PTR [rbx],eax
This page took 0.024498 seconds and 4 git commands to generate.