diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-13 00:47:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-13 00:47:25 +0000 |
commit | b86672059ed9a5c10d60e15406a50e6ca214269d (patch) | |
tree | 4526a1c08ea5425a94a8514dfcae1c057520ea36 | |
parent | 877d0355bdaf05e059b4f1f4cde55ce0510e1bc0 (diff) | |
download | bcm5719-llvm-b86672059ed9a5c10d60e15406a50e6ca214269d.tar.gz bcm5719-llvm-b86672059ed9a5c10d60e15406a50e6ca214269d.zip |
MC/X86: Add an XFAIL test where we aren't matching the correct instruction
because we don't understand how the specific instruction is doing sign
extension.
llvm-svn: 98404
-rw-r--r-- | llvm/test/MC/AsmParser/X86/x86_32-mismatched-add.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/X86/x86_32-mismatched-add.s b/llvm/test/MC/AsmParser/X86/x86_32-mismatched-add.s new file mode 100644 index 00000000000..0840c65ca95 --- /dev/null +++ b/llvm/test/MC/AsmParser/X86/x86_32-mismatched-add.s @@ -0,0 +1,8 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s +// XFAIL: * + +// CHECK: addl $4294967295, %eax # encoding: [0x83,0xc0,0xff] + addl $0xFFFFFFFF, %eax + +// CHECK: addl $65535, %eax # encoding: [0x66,0x83,0xc0,0xff] + addw $0xFFFF, %ax |