[AArch64] [Neon types 2/10] Update Current type attributes to new Neon Types.

gcc/
	* config/aarch64/aarch64.md (movtf_aarch64): Update type attribute.
	(load_pair): Update type attribute.
	(store_pair): Update type attribute.
	* config/aarch64/iterators.md (q): New.

From-SVN: r203612
This commit is contained in:
James Greenhalgh 2013-10-15 15:26:15 +00:00 committed by James Greenhalgh
parent 20445ed6ad
commit a9e66678ca
3 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2013-10-15 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.md (movtf_aarch64): Update type attribute.
(load_pair): Update type attribute.
(store_pair): Update type attribute.
* config/aarch64/iterators.md (q): New.
2013-10-15 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/types.md: Add new types for Neon insns.

View File

@ -1033,7 +1033,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,neon_ldm_2,neon_stm_2")
f_loadd,f_stored,neon_load1_2reg,neon_store1_2reg")
(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,*,*")
@ -1098,7 +1098,7 @@
GET_MODE_SIZE (<MODE>mode)))"
"ldp\\t%<w>0, %<w>2, %1"
[(set_attr "v8type" "fpsimd_load2")
(set_attr "type" "neon_ldm_2")
(set_attr "type" "neon_load1_2reg<q>")
(set_attr "mode" "<MODE>")]
)
@ -1115,7 +1115,7 @@
GET_MODE_SIZE (<MODE>mode)))"
"stp\\t%<w>1, %<w>3, %0"
[(set_attr "v8type" "fpsimd_store2")
(set_attr "type" "neon_stm_2")
(set_attr "type" "neon_store1_2reg<q>")
(set_attr "mode" "<MODE>")]
)

View File

@ -566,6 +566,15 @@
(V2SF "f") (V4SF "f")
(V2DF "f") (DF "f")])
;; Defined to '_q' for 128-bit types.
(define_mode_attr q [(V8QI "") (V16QI "_q")
(V4HI "") (V8HI "_q")
(V2SI "") (V4SI "_q")
(DI "") (V2DI "_q")
(V2SF "") (V4SF "_q")
(V2DF "_q")
(QI "") (HI "") (SI "") (DI "") (SF "") (DF "")])
;; -------------------------------------------------------------------
;; Code Iterators
;; -------------------------------------------------------------------