xref: /aosp_15_r20/external/llvm/test/MC/ARM/inst-directive-emit.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc %s -triple armv7-linux-gnueabi -filetype asm -o - | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker	.syntax unified
4*9880d681SAndroid Build Coastguard Worker	.thumb
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker	.p2align 2
7*9880d681SAndroid Build Coastguard Worker	.global emit_asm
8*9880d681SAndroid Build Coastguard Worker	.type emit_asm,%function
9*9880d681SAndroid Build Coastguard Workeremit_asm:
10*9880d681SAndroid Build Coastguard Worker	.inst.w 0xf2400000, 0xf2c00000
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker@ CHECK: 	.text
13*9880d681SAndroid Build Coastguard Worker@ CHECK: 	.code	16
14*9880d681SAndroid Build Coastguard Worker@ CHECK: 	.p2align	2
15*9880d681SAndroid Build Coastguard Worker@ CHECK: 	.globl	emit_asm
16*9880d681SAndroid Build Coastguard Worker@ CHECK: 	.type	emit_asm,%function
17*9880d681SAndroid Build Coastguard Worker@ CHECK: emit_asm:
18*9880d681SAndroid Build Coastguard Worker@ CHECK: 	inst.w 0xf2400000
19*9880d681SAndroid Build Coastguard Worker@ CHECK: 	inst.w 0xf2c00000
20*9880d681SAndroid Build Coastguard Worker
21