18 lines
560 B
Plaintext
18 lines
560 B
Plaintext
# 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
|