diff options
Diffstat (limited to 'llvm/test/MC/ARM/mode-switch.s')
-rw-r--r-- | llvm/test/MC/ARM/mode-switch.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/MC/ARM/mode-switch.s b/llvm/test/MC/ARM/mode-switch.s index 1fad8f13b6e..4cc986a3e17 100644 --- a/llvm/test/MC/ARM/mode-switch.s +++ b/llvm/test/MC/ARM/mode-switch.s @@ -1,9 +1,10 @@ @ Test ARM / Thumb mode switching with .code @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s +@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s .code 16 -@ CHECK: add.w r0, r0, r1 @ encoding: [0x01,0x00,0x00,0xeb] +@ CHECK: add.w r0, r0, r1 @ encoding: [0x00,0xeb,0x01,0x00] add.w r0, r0, r1 .code 32 |