This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] MIPS: Add support for -mcrc and -mginv options
- From: "Matthew Fortune" <mfortune at gmail dot com>
- To: "Robert Suchanek" <Robert dot Suchanek at mips dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 11 Jun 2018 11:00:46 +0100
- Subject: RE: [PATCH] MIPS: Add support for -mcrc and -mginv options
- References: <f95da1eb3e434552a0634d709a7e041a@mips.com>
Robert Suchanek <Robert.Suchanek@mips.com> writes:
> This patch adds -mcrc and -mginv options to pass through them
> to the assembler.
>
> Regards,
> Robert
>
> gcc/ChangeLog:
>
> 2018-06-01 Matthew Fortune <matthew.fortune@mips.com>
>
> * config/mips/mips.h (ASM_SPEC): Pass through -mcrc, -mno-crc,
> -mginv and -mno-ginv to the assembler.
> * config/mips/mips.opt (-mcrc): New option.
> (-mginv): Likewise.
> * doc/invoke.text (-mcrc): Document.
> (-mginv): Likewise.
The patch is OK but should probably wait until the binutils support is
committed. I see CRC ASE support in discussion up until:
https://sourceware.org/ml/binutils/2017-12/msg00069.html
And GINV support up to:
https://sourceware.org/ml/binutils/2018-01/msg00125.html
Thanks,
Matthew