llvm-6502/test/MC/ARM/fixup-cpu-mode.s
David Woodhouse 634295bcb6 Tests for mode switching
1. test that inlineasm works
2. test that relaxable instructions are re-encoded in the correct mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200351 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-28 23:13:30 +00:00

10 lines
199 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple thumbv7-linux-gnu %s -o %t
// RUN: llvm-objdump -triple thumbv7-linux-gnu -d %t | FileCheck %s
//PR18303
.code 16
.global edata
b edata // CHECK: b.w
.code 32