1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR 2 3//------------------------------------------------------------------------------ 4// ARMV8.4-A Debug, Trace and PMU Extensions 5//------------------------------------------------------------------------------ 6 7tsb 8tsb foo 9tsb #0 10tsb 0 11 12//CHECK-ERROR: error: too few operands for instruction 13//CHECK-ERROR: tsb 14//CHECK-ERROR: ^ 15//CHECK-ERROR: error: 'csync' operand expected 16//CHECK-ERROR: tsb foo 17//CHECK-ERROR: ^ 18//CHECK-ERROR: error: 'csync' operand expected 19//CHECK-ERROR: tsb #0 20//CHECK-ERROR: ^ 21//CHECK-ERROR: error: 'csync' operand expected 22//CHECK-ERROR: tsb 0 23//CHECK-ERROR: ^ 24