]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
MIPS/GAS: Add -march=loongson2f to loongson-2f-3 test
authorYunQiang Su <yunqiang.su@cipunited.com>
Fri, 24 Nov 2023 06:35:12 +0000 (14:35 +0800)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Nov 2023 16:02:56 +0000 (16:02 +0000)
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

gas/testsuite/gas/mips/loongson-2f-3.d

index f3ac2c97742812dc423b13f46686302b6f1d9ca2..c31d3abf53a3193df38b364a962feeb2c1db6ae2 100644 (file)
@@ -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