llvm-for-llvmta/test/MC/Disassembler/ARM/bfloat16-a32_2.txt

21 lines
860 B
Plaintext

# RUN: llvm-mc -triple arm-none-linux-gnu -mattr=+bf16,+neon --disassemble < %s | FileCheck %s
# RUN: llvm-mc -triple arm-none-linux-gnu -mattr=+v8.6a --disassemble < %s | FileCheck %s
# RUN: not llvm-mc -triple arm-none-linux-gnu -mattr=-bf16 --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOBF16
# RUN: not llvm-mc -triple arm-none-linux-gnu --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOBF16
[0x05,0x3d,0x04,0xfc]
# CHECK: vdot.bf16 d3, d4, d5
# CHECK-NOBF16: warning: invalid instruction encoding
[0x44,0x0d,0x02,0xfc]
# CHECK: vdot.bf16 q0, q1, q2
# CHECK-NOBF16: warning: invalid instruction encoding
[0x44,0x0c,0x02,0xfc]
# CHECK: vmmla.bf16 q0, q1, q2
# CHECK-NOBF16: warning: invalid instruction encoding
[0x46,0x16,0xb6,0xf3]
# CHECK: vcvt.bf16.f32 d1, q3
# CHECK-ERROR: warning: invalid instruction encoding