vfp.md (arm_movdi_vfp): Enable only when not tuning for Cortex-A8.
authorBernd Schmidt <bernds@codesourcery.com>
Fri, 25 Mar 2011 11:57:29 +0000 (11:57 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Fri, 25 Mar 2011 11:57:29 +0000 (11:57 +0000)
commit7baa7c1308787e9b4b0c89bcaeeae33b7c81ad9f
tree17f89e87d0acaeca63af78a3afacf547786193cd
parent4ff08abfef7cb6e4fc9fec536e24de880b1a80a6
vfp.md (arm_movdi_vfp): Enable only when not tuning for Cortex-A8.

2011-03-25  Bernd Schmidt  <bernds@codesourcery.com>
    Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning
for Cortex-A8.
(arm_movdi_vfp_cortexa8): New pattern.
* config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon,
iordi3_neon, xordi3_neon): Add alternatives to discourage Neon
instructions when tuning for Cortex-A8.  Set attribute "arch".
* config/arm/arm.md: Move include arm-tune.md up a bit.
(define_attr "arch"): Add "onlya8" and "nota8" values.
(define_attr "arch_enabled"): Handle "onlya8" and "nota8".

Co-Authored-By: Andrew Stubbs <ams@codesourcery.com>
From-SVN: r171449
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/config/arm/neon.md
gcc/config/arm/vfp.md