[AArch64 costs 4/18] Better estimate cost of building a constant
commit3967ee63c1a22917ebf3ed9eadba3b1d05a805e0
authorjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2014 08:47:59 +0000 (16 08:47 +0000)
committerjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2014 08:47:59 +0000 (16 08:47 +0000)
tree64c86e2439dc7e841cbd6bc1e4bc11b7604381e5
parente50295b383c516e2a1ee8ed9876e3fa50e8cf5b8
[AArch64 costs 4/18] Better estimate cost of building a constant

gcc/

* config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
emit instructions, return number of instructions which would
be emitted.
(aarch64_add_constant): Update call to aarch64_build_constant.
(aarch64_output_mi_thunk): Likewise.
(aarch64_rtx_costs): Estimate cost of a CONST_INT, cost
a CONST_DOUBLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210496 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64.c