mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 13:45:16 +00:00
![Sjoerd Meijer](/assets/img/avatar_default.png)
This adds the Armv8.4-A Trace synchronization barrier (TSB) instruction. Differential Revision: https://reviews.llvm.org/D48918 llvm-svn: 336418
21 lines
637 B
ArmAsm
21 lines
637 B
ArmAsm
// RUN: not llvm-mc -triple arm -mattr=+v8.4a -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
|
|
// RUN: not llvm-mc -triple thumb -mattr=+v8.4a -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
|
|
|
|
tsb
|
|
tsb 0
|
|
tsb #0
|
|
tsb foo
|
|
|
|
//CHECK-ERROR: error: too few operands for instruction
|
|
//CHECK-ERROR: tsb
|
|
//CHECK-ERROR: ^
|
|
//CHECK-ERROR: error: invalid operand for instruction
|
|
//CHECK-ERROR: tsb 0
|
|
//CHECK-ERROR: ^
|
|
//CHECK-ERROR: error: invalid operand for instruction
|
|
//CHECK-ERROR: tsb #0
|
|
//CHECK-ERROR: ^
|
|
//CHECK-ERROR: error: invalid operand for instruction
|
|
//CHECK-ERROR: tsb foo
|
|
//CHECK-ERROR: ^
|