aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2013-09-06 13:59:47 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2013-09-06 13:59:47 +0000
commit3c73e2fef91d41bd2d052178b75b5cbf532f07df (patch)
tree904af1833f1e6d0a79fb2448ab83c93c63a6bb74 /gcc
parent8c48eecd19891b9685c47e4a0852530ff861146e (diff)
downloadgcc-3c73e2fef91d41bd2d052178b75b5cbf532f07df.zip
gcc-3c73e2fef91d41bd2d052178b75b5cbf532f07df.tar.gz
gcc-3c73e2fef91d41bd2d052178b75b5cbf532f07df.tar.bz2
[AArch64] Use neon_<ldm,stm>_2 where appropriate as "type".
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/aarch64/aarch64.md8
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ebb09f2..70b93b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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".
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 5aa127b..f37f98f 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -1025,7 +1025,7 @@
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,*,*")
@@ -1090,7 +1090,7 @@
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>")]
)
@@ -1106,8 +1106,8 @@
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>")]
)