aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2023-05-23 18:49:19 +0200
committerGeorg-Johann Lay <avr@gjlay.de>2023-05-23 18:51:58 +0200
commit58b41bb4bafffec5e2e3425c8cee82b304bd0a5f (patch)
treea645cc9283aaae83a1502dbd0ef23ca8775419b9 /gcc/value-range.h
parentf504b70eb0fc1339322960041a85606df4547897 (diff)
downloadgcc-58b41bb4bafffec5e2e3425c8cee82b304bd0a5f.zip
gcc-58b41bb4bafffec5e2e3425c8cee82b304bd0a5f.tar.gz
gcc-58b41bb4bafffec5e2e3425c8cee82b304bd0a5f.tar.bz2
Improve cost computation for single-bit bit insertions.
Some miscomputation of rtx_costs lead to sub-optimal code for single-bit bit insertions. This patch implements TARGET_INSN_COST, which has a chance to see the whole insn during insn combination; in partictlar the SET_DEST of (set (zero_extract (...) ...)). gcc/ * config/avr/avr.cc (avr_insn_cost): New static function. (TARGET_INSN_COST): Define to that function.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions