xref: /aosp_15_r20/external/llvm/test/MC/X86/validate-inst-att.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple i686 -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker	.text
4*9880d681SAndroid Build Coastguard Worker	int $65535
5*9880d681SAndroid Build Coastguard Worker# CHECK: error: invalid operand for instruction
6*9880d681SAndroid Build Coastguard Worker# CHECK:	int $65535
7*9880d681SAndroid Build Coastguard Worker# CHECK:            ^
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker	int $-129
10*9880d681SAndroid Build Coastguard Worker# CHECK: error: invalid operand for instruction
11*9880d681SAndroid Build Coastguard Worker# CHECK:	int $-129
12*9880d681SAndroid Build Coastguard Worker# CHECK:            ^
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker	inb $65535, %al
15*9880d681SAndroid Build Coastguard Worker# CHECK: error: invalid operand for instruction
16*9880d681SAndroid Build Coastguard Worker# CHECK:	inb $65535, %al
17*9880d681SAndroid Build Coastguard Worker# CHECK:            ^
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard Worker	outb %al, $65535
20*9880d681SAndroid Build Coastguard Worker# CHECK: error: invalid operand for instruction
21*9880d681SAndroid Build Coastguard Worker# CHECK:	outb %al, $65535
22*9880d681SAndroid Build Coastguard Worker# CHECK:            ^
23