llvm/test/MC/X86/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

9 lines
184 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-objdump -d %t | FileCheck %s
//PR18303
.global edata
sub $edata, %r12 // CHECK: subq $0, %r12
.code32