[AArch64] Properly handle simple arith+extend ops in rtx costs
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 28 Jul 2015 11:00:07 +0000 (11:00 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 28 Jul 2015 11:00:07 +0000 (11:00 +0000)
commite47c403137a6c1de1676543d0bb031ec8cb4ecc4
tree59e2c29f80f3d316d619c6d45f3d898e8f714f53
parent4b1cbcee3e1725c7796ad8c55a84a7a95ab77871
[AArch64] Properly handle simple arith+extend ops in rtx costs

* config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p):
Handle simple SIGN_EXTEND or ZERO_EXTEND.
(aarch64_rtx_costs): Properly strip extend or extract before
passing down to rtx costs again.

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