Commit f05a874c by Maciej W. Rozycki Committed by Maciej W. Rozycki

MIPS/GCC/test: Implement `-mmicromips' option test

	gcc/testsuite/
	* gcc.target/mips/mips.exp (mips_option_tests): Add
	`-mmicromips' array element.

From-SVN: r242421
parent c7cbb4da
2016-11-15 Maciej W. Rozycki <macro@imgtec.com>
* gcc.target/mips/mips.exp (mips_option_tests): Add
`-mmicromips' array element.
2016-11-15 Michael Matz <matz@suse.de>
PR missed-optimization/77881
......
......@@ -360,6 +360,19 @@ set mips_option_tests(-mips16) {
jalr $3
move $31,$2
}
set mips_option_tests(-mmicromips) {
move $2,$31
bal 1f
.set push
.set micromips
jraddiusp 0
.set pop
.align 2
1:
ori $3,$31,1
jalr $3
move $31,$2
}
set mips_option_tests(-mpaired-single) {
.set mips64
lui $2,0x3f80
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment