OSDN Git Service

Update aosp/master LLVM for rebase to r256229
[android-x86/external-llvm.git] / test / MC / X86 / x86-64.s
index 096e900..71f8557 100644 (file)
@@ -413,7 +413,7 @@ fcmovae %st(1), %st(0)  // CHECK: fcmovnb   %st(1), %st(0)
 fcmova %st(1), %st(0)   // CHECK: fcmovnbe     %st(1), %st(0)
 
 // rdar://8456417
-.byte 88 + 1 & 15  // CHECK: .byte     9
+.byte (88 + 1) & 15  // CHECK: .byte   9
 
 // rdar://8456412
 mov %rdx, %cr0
@@ -1392,3 +1392,19 @@ vmovq %xmm0, %rax
 // CHECK: seto 3735928559(%r10,%r9,8)
 // CHECK:  encoding: [0x43,0x0f,0x90,0x84,0xca,0xef,0xbe,0xad,0xde]
        seto 0xdeadbeef(%r10,%r9,8)
+
+// CHECK:      monitorx
+// CHECK:  encoding: [0x0f,0x01,0xfa]
+               monitorx
+
+// CHECK:      monitorx
+// CHECK:  encoding: [0x0f,0x01,0xfa]
+               monitorx %rax, %rcx, %rdx
+
+// CHECK:      mwaitx
+// CHECK:  encoding: [0x0f,0x01,0xfb]
+               mwaitx
+
+// CHECK:      mwaitx
+// CHECK:  encoding: [0x0f,0x01,0xfb]
+               mwaitx %rax, %rcx, %rbx