summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/micromips-branch-relax.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mips/micromips-branch-relax.s')
-rw-r--r--gas/testsuite/gas/mips/micromips-branch-relax.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/micromips-branch-relax.s b/gas/testsuite/gas/mips/micromips-branch-relax.s
index 6cf2c473e08..421d1db8f5c 100644
--- a/gas/testsuite/gas/mips/micromips-branch-relax.s
+++ b/gas/testsuite/gas/mips/micromips-branch-relax.s
@@ -14,44 +14,54 @@ test:
addu $3, $4, $5
bal test
addu $3, $4, $5
+ .ifndef insn32
bals test
addu $3, $4, $5
+ .endif
beqz $3, test
addu $3, $4, $5
bnez $3, test
addu $3, $4, $5
+ .ifndef insn32
b16 test2
addu $3, $4, $5
beqz16 $3, test2
addu $3, $4, $5
bnez16 $3, test2
addu $3, $4, $5
+ .endif
b test2
addu $3, $4, $5
bc test2
addu $3, $4, $5
bal test2
addu $3, $4, $5
+ .ifndef insn32
bals test2
addu $3, $4, $5
+ .endif
beqz $3, test2
addu $3, $4, $5
bnez $3, test2
addu $3, $4, $5
+ .ifndef insn32
b16 test3
addu $3, $4, $5
beqz16 $3, test3
addu $3, $4, $5
bnez16 $3, test3
addu $3, $4, $5
+ .endif
b32 test2
addu $3, $4, $5
bc32 test2
addu $3, $4, $5
bal32 test2
addu $3, $4, $5
+ .ifndef insn32
bals32 test2
addu $3, $4, $5
+ .endif
beqz32 $3, test2
addu $3, $4, $5
bnez32 $3, test2
@@ -66,8 +76,10 @@ test:
addu $3, $4, $5
bal test3
addu $3, $4, $5
+ .ifndef insn32
bals test3
addu $3, $4, $5
+ .endif
beq $3, $4, test3
addu $3, $4, $5
bne $3, $4, test3
@@ -88,10 +100,12 @@ test:
addu $3, $4, $5
bltzal $30, test3
addu $3, $4, $5
+ .ifndef insn32
bgezals $30, test3
addu $3, $4, $5
bltzals $30, test3
addu $3, $4, $5
+ .endif
bc1f test3
addu $3, $4, $5
bc1t test3