1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s 2 3scvtf 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]+}}: 7 8scvtf 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]+}}: 12 13 14// --------------------------------------------------------------------------// 15// error: invalid restricted predicate register, expected p0..p7 (without element suffix) 16 17scvtf 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]+}}: 21