cortex-a8.md (cortex_a8_alu): Don't use cortex_a8_default when neon_type is not none.
authorJie Zhang <jie@codesourcery.com>
Wed, 14 Jul 2010 15:37:44 +0000 (15:37 +0000)
committerJie Zhang <jiez@gcc.gnu.org>
Wed, 14 Jul 2010 15:37:44 +0000 (15:37 +0000)
* config/arm/cortex-a8.md (cortex_a8_alu): Don't use
cortex_a8_default when neon_type is not none.

From-SVN: r162182

gcc/ChangeLog
gcc/config/arm/cortex-a8.md

index e894e6236458bd6bf6d121799f3498906d7e902c..ba7e54ef9ea6a523bffaa4fdce9ab6ddf73e8977 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-14  Jie Zhang  <jie@codesourcery.com>
+
+       * config/arm/cortex-a8.md (cortex_a8_alu): Don't use
+       cortex_a8_default when neon_type is not none.
+
 2010-07-14  Bernd Schmidt  <bernds@codesourcery.com>
 
        * lower-subreg.c (subreg_context): New static bitmap.
index e982e048809b1db410212cd7378b8f0b935252be..156959fa43f6241b85a8045c5a985bed9eec75dd 100644 (file)
@@ -87,8 +87,9 @@
 ;; (source read in E2 and destination available at the end of that cycle).
 (define_insn_reservation "cortex_a8_alu" 2
   (and (eq_attr "tune" "cortexa8")
-       (ior (and (eq_attr "type" "alu")
-                (not (eq_attr "insn" "mov,mvn")))
+       (ior (and (and (eq_attr "type" "alu")
+                     (eq_attr "neon_type" "none"))
+                (not (eq_attr "insn" "mov,mvn")))
             (eq_attr "insn" "clz")))
   "cortex_a8_default")