MIPS/GAS/testsuite: Fix trailing padding in `loc-swap.s'
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / beq.s
CommitLineData
252b5132 1# Source file used to test the beq macro.
63ba7a1c 2 .text
252b5132
RH
3text_label:
4 beq $4,$5,text_label
5 beq $4,0,text_label
6 beq $4,1,text_label
7 beq $4,0x8000,text_label
8 beq $4,-0x8000,text_label
9 beq $4,0x10000,text_label
10 beq $4,0x1a5a5,text_label
11
12# bne is handled by the same code as beq. Just sanity check.
13 bne $4,0,text_label
14
7361da2c 15 .ifndef r6
252b5132
RH
16# Test that branches which overflow are converted to jumps.
17 .space 0x20000
18 b text_label
19 bal text_label
7361da2c 20 .endif
252b5132 21
cb56d3d3 22# Branch to an external label.
f26c9c2e
MR
23 b external_label
24 bal external_label
cb56d3d3 25
9bb28706 26# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
df58fc94 27 .align 2
9bb28706 28 .space 8
This page took 0.749031 seconds and 4 git commands to generate.