[AArch64, ARM] Use "multiple" for type, where more than one instruction is used for a move

gcc/
	* config/aarch64/aarch64.md
	(*movti_aarch64): Use "multiple" for type where v8type is "move2".
	(*movtf_aarch64): Likewise.
	* config/arm/arm.md
	(thumb1_movdi_insn): Use "multiple" for type where more than one
	instruction is used for a move.
	(*arm32_movhf): Likewise.
	(*thumb_movdf_insn): Likewise.

From-SVN: r202332
This commit is contained in:
James Greenhalgh 2013-09-06 13:56:01 +00:00 committed by James Greenhalgh
parent 292b89b3d6
commit 9ea187a578
3 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,14 @@
2013-09-06 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.md
(*movti_aarch64): Use "multiple" for type where v8type is "move2".
(*movtf_aarch64): Likewise.
* config/arm/arm.md
(thumb1_movdi_insn): Use "multiple" for type where more than one
instruction is used for a move.
(*arm32_movhf): Likewise.
(*thumb_movdf_insn): Likewise.
2013-09-06 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/types.md (type): Rename fcpys to fmov.

View File

@ -906,7 +906,7 @@
str\\t%q1, %0"
[(set_attr "v8type" "move2,fmovi2f,fmovf2i,*, \
load2,store2,store2,fpsimd_load,fpsimd_store")
(set_attr "type" "mov_reg,f_mcr,f_mrc,*, \
(set_attr "type" "multiple,f_mcr,f_mrc,*, \
load2,store2,store2,f_loadd,f_stored")
(set_attr "simd_type" "*,*,*,simd_move,*,*,*,*,*")
(set_attr "mode" "DI,DI,DI,TI,DI,DI,DI,TI,TI")
@ -1024,7 +1024,7 @@
ldp\\t%0, %H0, %1
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,mov_reg,f_mcr,f_mrc,fconstd,fconstd,\
(set_attr "type" "logic_reg,multiple,f_mcr,f_mrc,fconstd,fconstd,\
f_loadd,f_stored,f_loadd,f_stored")
(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")

View File

@ -6141,7 +6141,7 @@
}
}"
[(set_attr "length" "4,4,6,2,2,6,4,4")
(set_attr "type" "multiple,mov_reg,multiple,load2,store2,load2,store2,mov_reg")
(set_attr "type" "multiple,multiple,multiple,load2,store2,load2,store2,multiple")
(set_attr "pool_range" "*,*,*,*,*,1018,*,*")]
)
@ -7221,7 +7221,7 @@
}
"
[(set_attr "conds" "unconditional")
(set_attr "type" "load1,store1,mov_reg,mov_reg")
(set_attr "type" "load1,store1,mov_reg,multiple")
(set_attr "length" "4,4,4,8")
(set_attr "predicable" "yes")]
)
@ -7466,7 +7466,7 @@
}
"
[(set_attr "length" "4,2,2,6,4,4")
(set_attr "type" "multiple,load2,store2,load2,store2,mov_reg")
(set_attr "type" "multiple,load2,store2,load2,store2,multiple")
(set_attr "pool_range" "*,*,*,1018,*,*")]
)