llvm.org GIT mirror llvm / release_50 test / MC / Disassembler / ARM / arm-thumb-trustzone.txt
release_50

Tree @release_50 (Download .tar.gz)

arm-thumb-trustzone.txt @release_50raw · history · blame

# RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -disassemble -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
# RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -disassemble -mattr=trustzone < %s | FileCheck %s -check-prefix=TZ


#------------------------------------------------------------------------------
# SMC
#------------------------------------------------------------------------------

0xff 0xf7 0x00 0x80
0x0c 0xbf
0xf0 0xf7 0x00 0x80

# NOTZ-NOT: smc #15
# NOTZ-NOT: smceq #0
# TZ: smc #15
# TZ: ite eq
# TZ: smceq #0