brintos

brintos / llvm-project-archived public Read only

0
0
Text · 544 B · 02b8f6c Raw
14 lines · plain
1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme  2>&1 < %s| FileCheck %s2 3// Immediate out of upper bound [-32, 31].4addspl x19, x14, #325// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].6// CHECK-NEXT: addspl x19, x14, #327// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:8 9// addspl requires an immediate, not a register.10addspl x19, x14, x1511// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].12// CHECK-NEXT: addspl x19, x14, x1513// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:14