[AArch64] Use neon_<ldm,stm>_2 where appropriate as "type".
authorJames Greenhalgh <james.greenhalgh@arm.com>
Fri, 6 Sep 2013 13:59:47 +0000 (13:59 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 6 Sep 2013 13:59:47 +0000 (13:59 +0000)
gcc/
* config/aarch64/aarch64.md
(*movtf_aarch64): Use neon_<ls>dm_2 as type where v8type
is fpsimd_<load/store>2.
(load_pair<mode>): Likewise.
(store_pair<mode>): Likewise.

From-SVN: r202334

gcc/ChangeLog
gcc/config/aarch64/aarch64.md

index ebb09f2..70b93b0 100644 (file)
@@ -1,5 +1,13 @@
 2013-09-06  James Greenhalgh  <james.greenhalgh@arm.com>
 
+       * config/aarch64/aarch64.md
+       (*movtf_aarch64): Use neon_<ls>dm_2 as type where v8type
+       is fpsimd_<load/store>2.
+       (load_pair<mode>): Likewise.
+       (store_pair<mode>): Likewise.
+
+2013-09-06  James Greenhalgh  <james.greenhalgh@arm.com>
+
        * config/arm/types.md (type): Add "mrs" type.
        * config/aarch64/aarch64.md
        (aarch64_load_tp_hard): Make type "mrs".
index 5aa127b..f37f98f 100644 (file)
    stp\\t%1, %H1, %0"
   [(set_attr "v8type" "logic,move2,fmovi2f,fmovf2i,fconst,fconst,fpsimd_load,fpsimd_store,fpsimd_load2,fpsimd_store2")
    (set_attr "type" "logic_reg,multiple,f_mcr,f_mrc,fconstd,fconstd,\
-                     f_loadd,f_stored,f_loadd,f_stored")
+                     f_loadd,f_stored,neon_ldm_2,neon_stm_2")
    (set_attr "mode" "DF,DF,DF,DF,DF,DF,TF,TF,DF,DF")
    (set_attr "length" "4,8,8,8,4,4,4,4,4,4")
    (set_attr "fp" "*,*,yes,yes,*,yes,yes,yes,*,*")
                               GET_MODE_SIZE (<MODE>mode)))"
   "ldp\\t%<w>0, %<w>2, %1"
   [(set_attr "v8type" "fpsimd_load2")
-   (set_attr "type" "f_load<s>")
+   (set_attr "type" "neon_ldm_2")
    (set_attr "mode" "<MODE>")]
 )
 
                               XEXP (operands[0], 0),
                               GET_MODE_SIZE (<MODE>mode)))"
   "stp\\t%<w>1, %<w>3, %0"
-  [(set_attr "v8type" "fpsimd_load2")
-   (set_attr "type" "f_load<s>")
+  [(set_attr "v8type" "fpsimd_store2")
+   (set_attr "type" "neon_stm_2")
    (set_attr "mode" "<MODE>")]
 )