[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / bfloat16-t32-errors.s
blob9684e76593eabec468d457f3440f8548aace2977
1 // RUN: not llvm-mc -triple thumbv8 -mattr=-bf16 < %s 2>&1 | FileCheck %s
3 vdot.bf16 d3, d4, d5
4 // CHECK: instruction requires: BFloat16 floating point extension
5 // CHECK-NEXT: vdot.bf16 d3, d4, d5
7 vdot.bf16 q0, q1, q2
8 // CHECK: instruction requires: BFloat16 floating point extension
9 // CHECK-NEXT: vdot.bf16 q0, q1, q2
11 vdot.bf16 d3, d4, d5[1]
12 // CHECK: instruction requires: BFloat16 floating point extension
13 // CHECK-NEXT: vdot.bf16 d3, d4, d5[1]
15 vdot.bf16 q0, q1, d5[1]
16 // CHECK: instruction requires: BFloat16 floating point extension
17 // CHECK-NEXT: vdot.bf16 q0, q1, d5[1]
19 vmmla.bf16 q0, q1, q2
20 // CHECK: instruction requires: BFloat16 floating point extension
21 // CHECK-NEXT: vmmla.bf16 q0, q1, q2
23 vcvt.bf16.f32 d1, q3
24 // CHECK: instruction requires: BFloat16 floating point extension
25 // CHECK-NEXT: vcvt.bf16.f32 d1, q3
27 vcvtbeq.bf16.f32 s1, s3
28 // CHECK: note: instruction requires: BFloat16 floating point extension
29 // CHECK-NEXT: vcvtbeq.bf16.f32 s1, s3
30 vcvttne.bf16.f32 s1, s3
31 // CHECK: note: instruction requires: BFloat16 floating point extension
32 // CHECK-NEXT: vcvttne.bf16.f32 s1, s3