[binutils-gdb] MIPS/GAS: Add -march=loongson2f to loongson-2f-3 test

Nick Clifton nickc@sourceware.org
Thu Nov 30 16:49:15 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=946df73fa09e782b15f75fc82729bff6a00d2554

commit 946df73fa09e782b15f75fc82729bff6a00d2554
Author: YunQiang Su <yunqiang.su@cipunited.com>
Date:   Fri Nov 24 14:35:12 2023 +0800

    MIPS/GAS: Add -march=loongson2f to loongson-2f-3 test
    
    On MIPSr6, the encoding of JR instruction has been chaned.
    This patch can fix these failures for r6 default triples:
            ST Microelectronics Loongson-2F workarounds of Jump Instruction issue

Diff:
---
 gas/testsuite/gas/mips/loongson-2f-3.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/mips/loongson-2f-3.d b/gas/testsuite/gas/mips/loongson-2f-3.d
index f3ac2c97742..c31d3abf53a 100644
--- a/gas/testsuite/gas/mips/loongson-2f-3.d
+++ b/gas/testsuite/gas/mips/loongson-2f-3.d
@@ -1,4 +1,4 @@
-#as: -mfix-loongson2f-jump
+#as: -march=loongson2f -mfix-loongson2f-jump
 #objdump: -M reg-names=numeric -dr
 #name: ST Microelectronics Loongson-2F workarounds of Jump Instruction issue


More information about the Binutils-cvs mailing list