diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2017-10-16 13:55:00 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2017-10-16 13:55:00 +0000 |
commit | 525f700d24e3ad5f5f0705243fd310d3bec8172d (patch) | |
tree | 90c1864c12bd8e908e554fddee6fc4e5a18758bd /gcc/config | |
parent | a310363e9028a084bf4148de7441f86deb879dbf (diff) | |
download | gcc-525f700d24e3ad5f5f0705243fd310d3bec8172d.zip gcc-525f700d24e3ad5f5f0705243fd310d3bec8172d.tar.gz gcc-525f700d24e3ad5f5f0705243fd310d3bec8172d.tar.bz2 |
[ARM] Allow +nodsp for -mcpu=cortex-m33
DSP instructions are optional for Arm Cortex-M33, yet its -mcpu option
does not allow +nodsp. Users are thus left with using
-march=armv8-m.main -mtune=cortex-m33. This patch allows +nodsp to
-mcpu=cortex-m33.
2017-10-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
* config/arm/arm-cpus.in (cortex-m33): Add nodsp option.
* doc/invoke.texi: Document +nodsp as a valid extension for
-mcpu=cortex-m33.
From-SVN: r253787
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm-cpus.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in index 2da2a7d..0820ad7 100644 --- a/gcc/config/arm/arm-cpus.in +++ b/gcc/config/arm/arm-cpus.in @@ -1532,6 +1532,7 @@ begin cpu cortex-m33 architecture armv8-m.main+dsp fpu fpv5-sp-d16 option nofp remove ALL_FP + option nodsp remove armv7em costs v7m end cpu cortex-m33 |