[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2 / flogb-diagnostics.s
blob60d9f9e5e242d580f83fd85781885d0ef224e1d3
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2 2>&1 < %s| FileCheck %s
4 // --------------------------------------------------------------------------//
5 // Invalid element width
7 flogb z0.b, p0/m, z0.b
8 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
9 // CHECK-NEXT: flogb z0.b, p0/m, z0.b
10 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
13 // --------------------------------------------------------------------------//
14 // Invalid predicate operation
16 flogb z0.s, p0/z, z0.s
17 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires: sme2p2 or sve2p2
18 // CHECK-NEXT: flogb z0.s, p0/z, z0.s
19 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
22 // --------------------------------------------------------------------------//
23 // Predicate not in restricted predicate range
25 flogb z0.s, p8/m, z0.s
26 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix)
27 // CHECK-NEXT: flogb z0.s, p8/m, z0.s
28 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: