1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/MC/AsmParser/X86/x86_32-mismatched-add.s
Daniel Dunbar 3eab04b641 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
2010-03-13 00:47:25 +00:00

9 lines
286 B
ArmAsm

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