mirror of git://gcc.gnu.org/git/gcc.git
Disallow -mfpu=neon for unsuitable architectures.
2014-09-17 Andrew Stubbs <ams@codesourcery.com> * config/arm/arm.c (arm_option_override): Reject -mfpu=neon when architecture is older than ARMv7. From-SVN: r215321
This commit is contained in:
parent
7e04aa3b4f
commit
a3a5ee6efb
|
|
@ -1,3 +1,8 @@
|
||||||
|
2014-09-17 Andrew Stubbs <ams@codesourcery.com>
|
||||||
|
|
||||||
|
* config/arm/arm.c (arm_option_override): Reject -mfpu=neon
|
||||||
|
when architecture is older than ARMv7.
|
||||||
|
|
||||||
2014-09-16 John David Anglin <danglin@gcc.gnu.org>
|
2014-09-16 John David Anglin <danglin@gcc.gnu.org>
|
||||||
|
|
||||||
PR target/61853
|
PR target/61853
|
||||||
|
|
|
||||||
|
|
@ -2845,6 +2845,9 @@ arm_option_override (void)
|
||||||
|
|
||||||
arm_fpu_desc = &all_fpus[arm_fpu_index];
|
arm_fpu_desc = &all_fpus[arm_fpu_index];
|
||||||
|
|
||||||
|
if (TARGET_NEON && !arm_arch7)
|
||||||
|
error ("target CPU does not support NEON");
|
||||||
|
|
||||||
switch (arm_fpu_desc->model)
|
switch (arm_fpu_desc->model)
|
||||||
{
|
{
|
||||||
case ARM_FP_MODEL_VFP:
|
case ARM_FP_MODEL_VFP:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue