summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/mips')
-rw-r--r--gcc/testsuite/gcc.target/mips/mips.exp9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp
index e1496d9d6a7..c5d6089a964 100644
--- a/gcc/testsuite/gcc.target/mips/mips.exp
+++ b/gcc/testsuite/gcc.target/mips/mips.exp
@@ -269,15 +269,14 @@ set mips_abi_groups {
# on a target that supports OPTION.
set mips_option_tests(-mips16) {
move $2,$31
- jal 1f
- b 2f
- .align 2
+ bal 1f
.set mips16
-1:
jr $31
.set nomips16
.align 2
-2:
+1:
+ ori $3,$31,1
+ jalr $3
move $31,$2
}
set mips_option_tests(-mpaired-single) {