summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2012-03-09 17:52:49 +0000
committerKevin Enderby <enderby@apple.com>2012-03-09 17:52:49 +0000
commit014e1cde5f6d245f528d6d2e34a28a125bb654b3 (patch)
tree887e450107b930f8eef01c17a1155c0e6222bf7f /llvm/test
parent3618cb7b6b7ff933a962583d7acde5006fa2db54 (diff)
downloadbcm5719-llvm-014e1cde5f6d245f528d6d2e34a28a125bb654b3.tar.gz
bcm5719-llvm-014e1cde5f6d245f528d6d2e34a28a125bb654b3.zip
Fix the x86 disassembler to at least print the lock prefix if it is the first
prefix. Added a FIXME to remind us this still does not work when it is not the first prefix. llvm-svn: 152414
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Disassembler/X86/simple-tests.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/X86/simple-tests.txt b/llvm/test/MC/Disassembler/X86/simple-tests.txt
index 840d5fab2dc..414c5d5fe9e 100644
--- a/llvm/test/MC/Disassembler/X86/simple-tests.txt
+++ b/llvm/test/MC/Disassembler/X86/simple-tests.txt
@@ -724,3 +724,8 @@
# CHECK: vpermil2ps $1, 4(%rax), %xmm2, %xmm3, %xmm0
0xc4 0xe3 0xe1 0x48 0x40 0x04 0x21
+
+# rdar://8812056 lldb doesn't print the x86 lock prefix when disassembling
+# CHECK: lock
+# CHECK: xaddq %rcx, %rbx
+0xf0 0x48 0x0f 0xc1 0xcb
OpenPOWER on IntegriCloud