diff options
author | Matthew Fortune <matthew.fortune@mips.com> | 2018-06-15 15:50:25 +0000 |
---|---|---|
committer | Robert Suchanek <rts@gcc.gnu.org> | 2018-06-15 15:50:25 +0000 |
commit | 9e9e626420ee11c9c1e63a40a3e957cd145744d4 (patch) | |
tree | 3e0dc97b76afb53bc776553e3624edde98c68a4a /gcc/config/mips | |
parent | 5a95794c58161276de626abb1479f498f3ae76b9 (diff) | |
download | gcc-9e9e626420ee11c9c1e63a40a3e957cd145744d4.zip gcc-9e9e626420ee11c9c1e63a40a3e957cd145744d4.tar.gz gcc-9e9e626420ee11c9c1e63a40a3e957cd145744d4.tar.bz2 |
MIPS: Add support for -mcrc and -mginv options.
gcc/ChangeLog:
2018-06-15 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.
From-SVN: r261635
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips.opt | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 61c5ae2..6804b79 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1355,6 +1355,8 @@ struct mips_cpu_info { %{meva} %{mno-eva} \ %{mvirt} %{mno-virt} \ %{mxpa} %{mno-xpa} \ +%{mcrc} %{mno-crc} \ +%{mginv} %{mno-ginv} \ %{mmsa} %{mno-msa} \ %{msmartmips} %{mno-smartmips} \ %{mmt} %{mno-mt} \ diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index 545da54..5a9f255 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -412,6 +412,14 @@ mxpa Target Report Var(TARGET_XPA) Use eXtended Physical Address (XPA) instructions. +mcrc +Target Report Var(TARGET_CRC) +Use Cyclic Redundancy Check (CRC) instructions. + +mginv +Target Report Var(TARGET_GINV) +Use Global INValidate (GINV) instructions. + mvr4130-align Target Report Mask(VR4130_ALIGN) Perform VR4130-specific alignment optimizations. |