xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/ARM/invalid-because-armv7.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -disassemble -triple armv7 -show-encoding < %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# This file is checking encodings that are valid on some triples, but not on the
4*9880d681SAndroid Build Coastguard Worker# ARMv7 triple, probably because the relevant instruction is v8, though there
5*9880d681SAndroid Build Coastguard Worker# could be other reasons.
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker# Would be vcvtt.f64.f16 d3, s1
8*9880d681SAndroid Build Coastguard Worker[0xe0 0x3b 0xb2 0xee]
9*9880d681SAndroid Build Coastguard Worker# CHECK: invalid instruction encoding
10*9880d681SAndroid Build Coastguard Worker# CHECK-NEXT: [0xe0 0x3b 0xb2 0xee]
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker# Would be vcvtb.f16.f64 s4, d1
13*9880d681SAndroid Build Coastguard Worker[0x41 0x2b 0xb3 0xee]
14*9880d681SAndroid Build Coastguard Worker# CHECK: invalid instruction encoding
15*9880d681SAndroid Build Coastguard Worker# CHECK-NEXT: [0x41 0x2b 0xb3 0xee]
16*9880d681SAndroid Build Coastguard Worker
17*9880d681SAndroid Build Coastguard Worker# Would be vcvtblt.f16.f64 s4, d1
18*9880d681SAndroid Build Coastguard Worker[0x41 0x2b 0xb3 0xbe]
19*9880d681SAndroid Build Coastguard Worker# CHECK: invalid instruction encoding
20*9880d681SAndroid Build Coastguard Worker# CHECK-NEXT: [0x41 0x2b 0xb3 0xbe]
21*9880d681SAndroid Build Coastguard Worker
22*9880d681SAndroid Build Coastguard Worker# Would be vmrs r0, mvfr2
23*9880d681SAndroid Build Coastguard Worker[0x10 0xa 0xf5 0xee]
24*9880d681SAndroid Build Coastguard Worker# CHECK: invalid instruction encoding
25*9880d681SAndroid Build Coastguard Worker# CHECK-NEXT: [0x10 0xa 0xf5 0xee]
26*9880d681SAndroid Build Coastguard Worker
27