From 69c695ee472853fa1ee93a94f00ef2a14bf18a66 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 13 Mar 2010 00:47:25 +0000 Subject: [PATCH] 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 --- test/MC/AsmParser/X86/x86_32-mismatched-add.s | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/MC/AsmParser/X86/x86_32-mismatched-add.s 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 00000000000..0840c65ca95 --- /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 -- 2.34.1