diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2023-05-10 15:50:19 +0800 |
---|---|---|
committer | YunQiang Su <yunqiang.su@cipunited.com> | 2023-06-05 11:00:14 +0800 |
commit | ffc528aed56b9e2c171137da28690a9bb6861b0b (patch) | |
tree | 8e6247b2959f909c50551bbd3ec0777ebe32781b /binutils/testsuite/binutils-all/testprog.c | |
parent | be0d391f22fe6009c3be907753975a984cbbcc23 (diff) | |
download | binutils-ffc528aed56b9e2c171137da28690a9bb6861b0b.zip binutils-ffc528aed56b9e2c171137da28690a9bb6861b0b.tar.gz binutils-ffc528aed56b9e2c171137da28690a9bb6861b0b.tar.bz2 |
MIPS: fix r6 testsuites
Introduce
run_dump_test_o32l
run_dump_test_n32l
run_dump_test_n64l
Which use `-march=from-abi` for pre-R6 testcases,
like micromips/mips16e etc.
For cases doesn't use run_dump_test_*, we use
-mips32r2 for micromips32
-mips1 for mips16-32
-march=from-abi for testcases to o32/n32/n64 both/all.
Replace `addi` with `addiu` for some cases for both r6 and pre-R6.
Introduce some new testcases for r6 with FPXX/FP64.
Introduce new testcase: comdat-reloc-r6.
Skip `default` in mips_arch_list_matching if triple is mipsisa*, due to:
1)it will cannot match mipsr6@*.d: since mips32rN/mips64rN
will always be used, it won't be a problem.
2)some test think -march=mips64rN will alway true for mipsisa64rN,
which is not true now.
This patch fix testsuite for all r6-default gnu triples:
mipsisa32r6-linux-gnu
mipsisa32r6el-linux-gnu
mips-img-linux-gnu
mipsel-img-linux-gnu
mipsisa64r6-linux-gnu
mipsisa64r6el-linux-gnu
Diffstat (limited to 'binutils/testsuite/binutils-all/testprog.c')
0 files changed, 0 insertions, 0 deletions