brintos

brintos / llvm-project-archived public Read only

0
0
Text · 666 B · 8486085 Raw
23 lines · plain
1// RUN: not llvm-mc -triple=aarch64 -mattr=+gcie -show-encoding < %s 2>&1 \2// RUN:        | FileCheck %s --check-prefix=CHECK-ERROR3 4//------------------------------------------------------------------------------5// FEAT_GCIE instructions6//------------------------------------------------------------------------------7 8gsb9// CHECK-ERROR: error: invalid operand for GSB instruction10 11gicr12// CHECK-ERROR: error: expected register operand13 14gicr x3, foo15// CHECK-ERROR: error: invalid operand for GICR instruction16 17gic cdaff18// CHECK-ERROR: error: specified gic op requires a register19 20gic cdeoi, x321// CHECK-ERROR: error: specified gic op does not use a register22 23