blob: 834624c28fa3cb878a9daf04754310082157abfc [file] [log] [blame]
NAKAMURA Takumidd620a22014-07-25 09:54:49 +00001; RUN: llc -march thumb -no-integrated-as < %s | FileCheck %s --check-prefix=THUMB
2; RUN: llc -march arm -no-integrated-as < %s | FileCheck %s --check-prefix=ARM
Akira Hatanaka16e47ff2014-07-25 05:12:49 +00003
4; In thumb mode, emit ".code 16" before global inline-asm instructions.
5
6; THUMB: .code 16
7; THUMB: stmib
8; THUMB: .code 16
9
10; ARM-NOT: .code 16
11; ARM: stmib
12
13module asm "stmib sp, {r0-r14};"