brintos

brintos / llvm-project-archived public Read only

0
0
Text · 894 B · 6457ad0 Raw
22 lines · plain
1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve  2>&1 < %s| FileCheck %s2 3frecpe    z0.b, z31.b4// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width5// CHECK-NEXT: frecpe    z0.b, z31.b6// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:7 8// --------------------------------------------------------------------------//9// Negative tests for instructions that are incompatible with movprfx10 11movprfx z0.d, p0/z, z7.d12frecpe   z0.d, z31.d13// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov14// CHECK-NEXT: frecpe   z0.d, z31.d15// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:16 17movprfx z0, z718frecpe   z0.d, z31.d19// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov20// CHECK-NEXT: frecpe   z0.d, z31.d21// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:22