aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2024-08-28 21:19:28 -0600
committerRoger Sayle <roger@nextmovesoftware.com>2024-08-28 21:19:28 -0600
commit3cb92be94e6581697369eeafdb67057c8cfba73f (patch)
treeacb838815e6ecbc2aaed7ffa35bfb51514843988 /gcc/tree-ssa-phiopt.cc
parent155da081706e0e0527f01ad565b1cd6c217f5880 (diff)
downloadgcc-3cb92be94e6581697369eeafdb67057c8cfba73f.zip
gcc-3cb92be94e6581697369eeafdb67057c8cfba73f.tar.gz
gcc-3cb92be94e6581697369eeafdb67057c8cfba73f.tar.bz2
i386: Support wide immediate constants in STV.
This patch provides more accurate costs/gains for (wide) immediate constants in STV, suitably adjusting the costs/gains when the highpart and lowpart words are the same. 2024-08-28 Roger Sayle <roger@nextmovesoftware.com> gcc/ChangeLog * config/i386/i386-features.cc (timode_immed_const_gain): New function to determine the gain/cost on a CONST_WIDE_INT. (timode_scalar_chain::compute_convert_gain): Fix whitespace. <case CONST_WIDE_INT>: Provide more accurate estimates using timode_immed_const_gain. <case AND>: Handle CONSTANT_SCALAR_INT_P (src).
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions