diff options
Diffstat (limited to 'test/MC/ARM/arm_instructions.s')
-rw-r--r-- | test/MC/ARM/arm_instructions.s | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index ce7e036..a4b6bda 100644 --- a/test/MC/ARM/arm_instructions.s +++ b/test/MC/ARM/arm_instructions.s @@ -1,7 +1,14 @@ -@ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding %s | FileCheck %s - -@ CHECK: trap -@ CHECK: encoding: [0xfe,0xde,0xff,0xe7] +@ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding %s \ +@ RUN: | FileCheck %s -check-prefix=ALL +@ RUN: llvm-mc -mcpu=cortex-a9-mp -triple armv7-unknown-nacl -show-encoding %s \ +@ RUN: | FileCheck %s -check-prefix=NACL +@ RUN: llvm-mc -mcpu=cortex-a8 -mattr=+nacl-trap -triple armv7 -show-encoding %s \ +@ RUN: | FileCheck %s -check-prefix=NACL + +@ ALL: trap +@ ALL: encoding: [0xfe,0xde,0xff,0xe7] +@ NACL: trap +@ NACL: encoding: [0xf0,0xde,0xfe,0xe7] trap @ CHECK: bx lr |