brintos

brintos / llvm-project-archived public Read only

0
0
Text · 783 B · beed8e4 Raw
27 lines · plain
1# RUN: not llvm-mc -disassemble -triple armv7 -show-encoding < %s 2>&1 | FileCheck %s2 3# This file is checking encodings that are valid on some triples, but not on the4# ARMv7 triple, probably because the relevant instruction is v8, though there5# could be other reasons.6 7# Would be vcvtt.f64.f16 d3, s18[0xe0 0x3b 0xb2 0xee]9# CHECK: invalid instruction encoding10# CHECK-NEXT: [0xe0 0x3b 0xb2 0xee]11 12# Would be vcvtb.f16.f64 s4, d113[0x41 0x2b 0xb3 0xee]14# CHECK: invalid instruction encoding15# CHECK-NEXT: [0x41 0x2b 0xb3 0xee]16 17# Would be vcvtblt.f16.f64 s4, d118[0x41 0x2b 0xb3 0xbe]19# CHECK: invalid instruction encoding20# CHECK-NEXT: [0x41 0x2b 0xb3 0xbe]21 22# Would be vmrs r0, mvfr223[0x10 0xa 0xf5 0xee]24# CHECK: invalid instruction encoding25# CHECK-NEXT: [0x10 0xa 0xf5 0xee]26 27