]> gcc.gnu.org Git - gcc.git/commit
Limit memcpy inline copy to do just 2 variable moves.
authorMichael Meissner <meissner@linux.ibm.com>
Wed, 16 Nov 2022 20:55:46 +0000 (15:55 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Wed, 16 Nov 2022 20:55:46 +0000 (15:55 -0500)
commitfdb23c6046237590295af7261e6f5a89a213a606
tree1e609583fbbca6253aa8771bba8e4b264aa29232
parent8450e72c1a3ae93b3aa7a022c8e9632fbc0adda1
Limit memcpy inline copy to do just 2 variable moves.

2022-11-16   Michael Meissner  <meissner@linux.ibm.com>

gcc/

* config/rs6000/rs6000-string.cc (expand_lxvl_stxvl): New helper
function.
(expand_block_move_variable): Only do 2 variable moves per memcpy call.
* config/rs6000/rs6000.cc (rs6000_option_override_internal): Remove
bumping up rs6000_memcpy_inline_bytes if -mcpu=future.
* config/rs6000/rs6000.opt (-param=rs6000-memcpy-inline-bytes=): Set
default to 32, not 16.
gcc/config/rs6000/rs6000-string.cc
gcc/config/rs6000/rs6000.cc
gcc/config/rs6000/rs6000.opt
This page took 0.063342 seconds and 6 git commands to generate.