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
This commit is contained in:
Daniel Dunbar 2010-03-13 00:47:25 +00:00
parent 877d0355bd
commit b86672059e
1 changed files with 8 additions and 0 deletions

View File

@ -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