diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2015-04-30 13:34:05 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-04-30 13:34:05 +0000 |
commit | 0a78ebe4c7814b10f12e2d2ee67235fd83f94621 (patch) | |
tree | 32aafdada8cb8ae28ef857d173de0ae642934a86 /gcc/final.c | |
parent | 2533c820b3622de5982a3e079763395c5bef38c4 (diff) | |
download | gcc-0a78ebe4c7814b10f12e2d2ee67235fd83f94621.zip gcc-0a78ebe4c7814b10f12e2d2ee67235fd83f94621.tar.gz gcc-0a78ebe4c7814b10f12e2d2ee67235fd83f94621.tar.bz2 |
[AArch64] Properly handle SHIFT ops and EXTEND in aarch64_rtx_mult_cost
* config/aarch64/aarch64.c (aarch64_shift_p): New function.
(aarch64_rtx_mult_cost): Update comment to reflect that it also handles
combined arithmetic-shift ops. Properly handle all shift and extend
operations that can occur in combination with PLUS/MINUS.
Rename maybe_fma to compound_p.
(aarch64_rtx_costs): Use aarch64_shift_p when costing compound
arithmetic and shift operations.
From-SVN: r222624
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions