xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/ARM/arm-thumb-trustzone.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -disassemble -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -disassemble -mattr=trustzone < %s | FileCheck %s -check-prefix=TZ
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker#------------------------------------------------------------------------------
6*9880d681SAndroid Build Coastguard Worker# SMC
7*9880d681SAndroid Build Coastguard Worker#------------------------------------------------------------------------------
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker0xff 0xf7 0x00 0x80
10*9880d681SAndroid Build Coastguard Worker0x0c 0xbf
11*9880d681SAndroid Build Coastguard Worker0xf0 0xf7 0x00 0x80
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Worker# NOTZ-NOT: smc #15
14*9880d681SAndroid Build Coastguard Worker# NOTZ-NOT: smceq #0
15*9880d681SAndroid Build Coastguard Worker# TZ: smc #15
16*9880d681SAndroid Build Coastguard Worker# TZ: ite eq
17*9880d681SAndroid Build Coastguard Worker# TZ: smceq #0
18