aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-28 20:23:50 +0000
committerChris Lattner <sabre@nondot.org>2010-11-28 20:23:50 +0000
commitd8f717911dcdccb1a60b3049ea22c7767970dcb7 (patch)
tree44b89ec80eef2fce0f7fa98d566033ca8eec9703 /test/MC/X86
parenta1ac3bbec703f7faf20cbc06fa0eb9d34bb4f5f6 (diff)
downloadexternal_llvm-d8f717911dcdccb1a60b3049ea22c7767970dcb7.zip
external_llvm-d8f717911dcdccb1a60b3049ea22c7767970dcb7.tar.gz
external_llvm-d8f717911dcdccb1a60b3049ea22c7767970dcb7.tar.bz2
fix PR8686, accepting a 'b' suffix at the end of all the setcc
instructions. I choose to handle this with an asmparser hack, though it could be handled by changing all the instruction definitions to allow be "setneb" instead of "setne". The asm parser hack is better in this case, because we want the disassembler to produce setne, not setneb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r--test/MC/X86/x86-32.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/MC/X86/x86-32.s b/test/MC/X86/x86-32.s
index f4adb5f..9ff5acc 100644
--- a/test/MC/X86/x86-32.s
+++ b/test/MC/X86/x86-32.s
@@ -543,7 +543,10 @@ popfl
setng %bl
setnle %bl
-
+// PR8686
+ setneb %cl // CHECK: setne %cl
+ setcb %bl // CHECK: setb %bl
+ setnaeb %bl // CHECK: setb %bl
// CHECK: lcalll $31438, $31438