468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
20 lines
671 B
ArmAsm
20 lines
671 B
ArmAsm
// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
|
|
|
|
// Register z32 does not exist.
|
|
sub z3.h, z26.h, z32.h
|
|
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand
|
|
// CHECK-NEXT: sub z3.h, z26.h, z32.h
|
|
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
|
|
|
|
// Invalid element kind.
|
|
sub z4.h, z27.h, z31.x
|
|
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid sve vector kind qualifier
|
|
// CHECK-NEXT: sub z4.h, z27.h, z31.x
|
|
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
|
|
|
|
// Element size specifiers should match.
|
|
sub z0.h, z8.h, z8.b
|
|
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand
|
|
// CHECK-NEXT: sub z0.h, z8.h, z8.b
|
|
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
|