From 946df73fa09e782b15f75fc82729bff6a00d2554 Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Fri, 24 Nov 2023 14:35:12 +0800 Subject: [PATCH] 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 --- 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 -- 2.39.5