1 @ RUN: not llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
2 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=trustzone < %s | FileCheck %s -check-prefix=TZ
3 @ RUN: not llvm-mc -triple=thumbv6kz -mcpu=arm1176jzf-s -show-encoding < %s | FileCheck %s -check-prefix=NOTZ
8 @ Check that the assembler processes SMC instructions when TrustZone support is
9 @ active and that it rejects them when this feature is not enabled
15 @------------------------------------------------------------------------------
17 @------------------------------------------------------------------------------
24 @ TZ: smc #15 @ encoding: [0xff,0xf7,0x00,0x80]
25 @ TZ: ite eq @ encoding: [0x0c,0xbf]
26 @ TZ: smceq #0 @ encoding: [0xf0,0xf7,0x00,0x80]