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 | cae1629206cb075303e3f4bdd0f0c5f41173327b (patch) | |
| tree | 7e824fefc0dfe1ad0da660977d6e68bce0eb697c /test/MC/AsmParser | |
| parent | 70716e89ecfa2b051350c3fe9572cb91cfabd148 (diff) | |
| download | external_llvm-cae1629206cb075303e3f4bdd0f0c5f41173327b.zip external_llvm-cae1629206cb075303e3f4bdd0f0c5f41173327b.tar.gz external_llvm-cae1629206cb075303e3f4bdd0f0c5f41173327b.tar.bz2 | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
| -rw-r--r-- | test/MC/AsmParser/X86/x86_32-mismatched-add.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-mismatched-add.s b/test/MC/AsmParser/X86/x86_32-mismatched-add.s new file mode 100644 index 0000000..0840c65 --- /dev/null +++ b/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 |
