[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE / scvtf-diagnostics.s
blob5bd5184cb548ac789ac3cf6dee9fd0b41122f975
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
3 scvtf z0.s, p0/m, z0.h
4 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
5 // CHECK-NEXT: scvtf z0.s, p0/m, z0.h
6 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
8 scvtf z0.d, p0/m, z0.h
9 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
10 // CHECK-NEXT: scvtf z0.d, p0/m, z0.h
11 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
14 // --------------------------------------------------------------------------//
15 // error: invalid restricted predicate register, expected p0..p7 (without element suffix)
17 scvtf z0.h, p8/m, z0.h
18 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix)
19 // CHECK-NEXT: scvtf z0.h, p8/m, z0.h
20 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: