diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2019-10-18 19:02:50 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2019-10-18 19:02:50 +0000 |
commit | bbead5babc046279d886b059e68e613b0185b2ff (patch) | |
tree | 124a99d80876a893377cb89eb847f09c6eca55f6 /gcc/config/nvptx | |
parent | 0a67306e3cc2adfe0ef2fe313a86f57141ab57b2 (diff) | |
download | gcc-bbead5babc046279d886b059e68e613b0185b2ff.zip gcc-bbead5babc046279d886b059e68e613b0185b2ff.tar.gz gcc-bbead5babc046279d886b059e68e613b0185b2ff.tar.bz2 |
[arm] Correct cost calculations involving borrow for subtracts.
The rtx_cost calculations when a borrow operation was being performed were
not being calculated correctly. The borrow is free as part of the
subtract-with-carry instructions. This patch recognizes the various
idioms that can describe this and returns the correct costs.
* config/arm/arm.c (arm_rtx_costs_internal, case MINUS): Handle
borrow operations.
From-SVN: r277173
Diffstat (limited to 'gcc/config/nvptx')
0 files changed, 0 insertions, 0 deletions