summaryrefslogtreecommitdiff
path: root/test/MC/X86
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-18 23:16:12 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-18 23:16:12 +0000
commit3f1f9c37986953250cbda7a7bfb7123571449be7 (patch)
tree96f02242f319b8e563fd59f64bdbc1365bd257c6 /test/MC/X86
parent18014d4e4c6722aec4fa387d995b618f5d3111cd (diff)
downloadllvm-3f1f9c37986953250cbda7a7bfb7123571449be7.tar.gz
llvm-3f1f9c37986953250cbda7a7bfb7123571449be7.tar.bz2
llvm-3f1f9c37986953250cbda7a7bfb7123571449be7.tar.xz
[ms-inline asm] Apply the condition code mnemonic aliases to both the Intel and
AT&T dialect. Test case for r179804 as well. rdar://13674398 and PR13340. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r--test/MC/X86/intel-syntax.s30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax.s b/test/MC/X86/intel-syntax.s
index 2e4d6b940b..c49a17e28c 100644
--- a/test/MC/X86/intel-syntax.s
+++ b/test/MC/X86/intel-syntax.s
@@ -291,4 +291,34 @@ _main:
mov [eax][16/-8][ebx*4], ecx
// CHECK: movl %ecx, -2(%eax,%ebx,4)
mov [eax][(16)/-8][ebx*4], ecx
+
+// CHECK: setb %al
+ setc al
+// CHECK: sete %al
+ setz al
+// CHECK: setbe %al
+ setna al
+// CHECK: setae %al
+ setnb al
+// CHECK: setae %al
+ setnc al
+// CHECK: setle %al
+ setng al
+// CHECK: setge %al
+ setnl al
+// CHECK: setne %al
+ setnz al
+// CHECK: setp %al
+ setpe al
+// CHECK: setnp %al
+ setpo al
+// CHECK: setb %al
+ setnae al
+// CHECK: seta %al
+ setnbe al
+// CHECK: setl %al
+ setnge al
+// CHECK: setg %al
+ setnle al
+
ret