[PATCH v3 1/6, Committed] [MIPS] Split Loongson (MMI) from loongson3a
Paul Hua
paul.hua.gm@gmail.com
Thu Nov 8 07:29:00 GMT 2018
On Wed, Nov 7, 2018 at 5:12 PM Paul Hua <paul.hua.gm@gmail.com> wrote:
>
> Hi, Matthew:
>
> I committed the patch. Thanks for your review.
>
After committed this patch some test failure under
with-arch=mips64r2(i only test under -with-arch=loongson3a).
664 FAIL: gcc.target/mips/insn-casesi.c -O0 (test for excess
errors)
665 FAIL: gcc.target/mips/insn-casesi.c -O1 (test for excess
errors)
666 FAIL: gcc.target/mips/insn-casesi.c -O2 (test for excess
errors)
667 FAIL: gcc.target/mips/insn-casesi.c -O2 -flto
-fno-use-linker-plugin -flto-partition=none (test for excess errors)
668 FAIL: gcc.target/mips/insn-casesi.c -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects (test for excess errors)
669 FAIL: gcc.target/mips/insn-casesi.c -O3 -g (test for excess
errors)
670 FAIL: gcc.target/mips/insn-casesi.c -Os (test for excess errors)
The error message is " /usr/bin/as: unrecognized option '-mno-loongson-mmi' "
Those error come from follow options.
> mips_option_dependency options "-mips16" "-mno-loongson-mmi"
> mips_option_dependency options "-mmicromips" "-mno-loongson-mmi"
> mips_option_dependency options "-msoft-float" "-mno-loongson-mmi"
> mips_option_dependency options "-mmicromips" "-mno-loongson-ext"
We should add those dependency only config with
--with-arch=loongson3a/gs464/gs464e/gs246e.
I committed the attached patch as obvious.
Paul Hua
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-mips-option-dependency-only-config-with-loongson.patch
Type: text/x-patch
Size: 2087 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181108/42175340/attachment.bin>
More information about the Gcc-patches
mailing list