[AArch64] Properly handle simple arith+extend ops in rtx costs
commit9d8e046ee7428aa4b8e17736ad6c8acc66fb2a9f
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jul 2015 11:00:07 +0000 (28 11:00 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jul 2015 11:00:07 +0000 (28 11:00 +0000)
tree59e2c29f80f3d316d619c6d45f3d898e8f714f53
parent66ed189dce802c9fc8b0dcae0e6ead6046651af6
[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.

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