[x86 asm] allow fwait alias in both At&t and Intel modes (PR21208)
[oota-llvm.git] / test / MC / X86 / x86-32-ms-inline-asm.s
index c41c90426c9aca2a989a02702262557e6f721b27..3169033f2ffcf0538656602c2864e1b898d6e00e 100644 (file)
@@ -73,10 +73,6 @@ _t21:                                   ## @t21
 // CHECK: movl 16(%esi,%eax,2), %eax
 // CHECK: # encoding: [0x8b,0x44,0x46,0x10]
 
 // CHECK: movl 16(%esi,%eax,2), %eax
 // CHECK: # encoding: [0x8b,0x44,0x46,0x10]
 
-       mov eax, ~15
-// CHECK: movl ~15, %eax
-// CHECK: # encoding: [0xa1,A,A,A,A]
-
     prefetchnta 64[eax]
 // CHECK: prefetchnta 64(%eax)
 // CHECK: # encoding: [0x0f,0x18,0x40,0x40]
     prefetchnta 64[eax]
 // CHECK: prefetchnta 64(%eax)
 // CHECK: # encoding: [0x0f,0x18,0x40,0x40]
@@ -94,4 +90,8 @@ _t21:                                   ## @t21
 // CHECK: popal
 // CHECK: # encoding: [0x61]
 
 // CHECK: popal
 // CHECK: # encoding: [0x61]
 
+    fwait
+// CHECK: wait
+// CHECK: # encoding: [0x9b]
+
        ret
        ret