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