1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 | FileCheck %s --check-prefix=ASM
3 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
4 # RUN: llvm-readobj --symbols - | FileCheck %s --check-prefix=OBJ
9 .type f_mm_insn_data, @function
12 .word 0x00e73910 # add $7, $7, $7
14 .global f_mm_insn_instr
15 .type f_mm_insn_instr, @function
20 .global o_mm_insn_data
21 .type o_mm_insn_data, @object
24 .word 0x00e73910 # add $7, $7, $7
26 .global o_mm_insn_instr
27 .type o_mm_insn_instr, @object
34 .global f_normal_insn_data
35 .type f_normal_insn_data, @function
38 .word 0x00e73820 # add $7, $7, $7
40 .global f_normal_insn_instr
41 .type f_normal_insn_instr, @function
46 .global o_normal_insn_data
47 .type o_normal_insn_data, @object
50 .word 0x00e73820 # add $7, $7, $7
52 .global o_normal_insn_instr
53 .type o_normal_insn_instr, @object
58 # Verify that .insn causes the currently saved labels to be cleared by checking
59 # that foo doesn't get marked.
63 .word 0x00e73820 # add $7, $7, $7
75 # OBJ: Name: f_mm_insn_data
78 # OBJ: Name: f_mm_insn_instr
81 # OBJ: Name: f_normal_insn_data
84 # OBJ: Name: f_normal_insn_instr
87 # OBJ: Name: o_mm_insn_data
90 # OBJ: Name: o_mm_insn_instr
93 # OBJ: Name: o_normal_insn_data
96 # OBJ: Name: o_normal_insn_instr