[AArch64] Handle AND+ASHIFT form of UBFIZ correctly in costs
* config/aarch64/aarch64.c (aarch64_mask_and_shift_for_ubfiz_p):
New function.
(aarch64_rtx_costs): Use it. Rewrite CONST_INT_P (op1) case to handle
mask+shift version.
* config/aarch64/aarch64-protos.h (aarch64_mask_and_shift_for_ubfiz_p):
New prototype.
* config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Replace
matching condition with aarch64_mask_and_shift_for_ubfiz_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237440 138bc75d-0d04-0410-961f-82ee72b054a4