Re: [PATCH] Add TARGET_FOLD_MEMCPY_MAX

2022-03-02 Thread Richard Biener via Gcc-patches
On Tue, Mar 1, 2022 at 11:41 PM H.J. Lu via Gcc-patches wrote: > > Add TARGET_FOLD_MEMCPY_MAX for the maximum number of bytes to fold memcpy. > The default is > > MOVE_MAX * MOVE_RATIO (optimize_function_for_size_p (cfun)) > > For x86, it is MOVE_MAX to restore the old behavior before I know we'v

[PATCH] Add TARGET_FOLD_MEMCPY_MAX

2022-03-01 Thread H.J. Lu via Gcc-patches
Add TARGET_FOLD_MEMCPY_MAX for the maximum number of bytes to fold memcpy. The default is MOVE_MAX * MOVE_RATIO (optimize_function_for_size_p (cfun)) For x86, it is MOVE_MAX to restore the old behavior before commit 5f6a6c91d7c592cb49f7c519f289777eac09bb74 Author: Richard Earnshaw Date: Fri S