[AArch64] Use extend_arith rtx cost appropriately
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 30 Apr 2015 13:30:49 +0000 (13:30 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 30 Apr 2015 13:30:49 +0000 (13:30 +0000)
commit2533c820b3622de5982a3e079763395c5bef38c4
tree1e8ac07151dafb58df4db3cad5d31014b1acb7f1
parent577cd070845fb8facf0a451aafe1e444b9374b08
[AArch64] Use extend_arith rtx cost appropriately

* config/aarch64/aarch64.c (aarch64_rtx_costs): Use extend_arith
rather than arith_shift cost when costing ADD/MINUS of an
extended value.

From-SVN: r222623
gcc/ChangeLog
gcc/config/aarch64/aarch64.c