xref: /llvm-project/llvm/test/MC/Mips/forbidden-slot.s (revision 96abee5eef31274415681018553e1d4a16dc16c9)
1# RUN: llvm-mc -assemble -mcpu=mips64r6 -arch=mips64el -filetype=obj %s -o tmp.o
2# RUN: llvm-objdump -d tmp.o | FileCheck %s --check-prefix=MIPSELR6
3
4# MIPSELR6:      0000000000000000 <aaa>:
5# MIPSELR6-NEXT: beqzc	$13, 0x0 <aaa>
6# MIPSELR6-NEXT: b	0x0 <aaa>
7# MIPSELR6:      0000000000000008 <bbb>:
8# MIPSELR6-NEXT: beqzc	$13, 0x8 <bbb>
9# MIPSELR6-NEXT: nop    <aaa>
10# MIPSELR6:      b	0x8 <bbb>
11	.set noreorder
12aaa:
13	beqzc $t1, aaa
14	b aaa
15	.set reorder
16bbb:
17	beqzc $t1, bbb
18	b bbb
19