[Bug target/96470] [10/11 regression] gnat.dg/opt39.adb is not scalarized
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 12 12:40:12 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96470
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Via
/* If the user didn't set PARAM_SRA_MAX_SCALARIZATION_SIZE_<...>,
fall back to a target default. */
unsigned HOST_WIDE_INT max_scalarization_size
= get_move_ratio (optimize_speed_p) * UNITS_PER_WORD;
and rs6000 not altering MOVE_RATIO from its default
/* If a memory-to-memory move would take MOVE_RATIO or more simple
move-instruction sequences, we will do a cpymem or libcall instead. */
#ifndef MOVE_RATIO
#if defined (HAVE_cpymemqi) || defined (HAVE_cpymemhi) || defined
(HAVE_cpymemsi) || defined (HAVE_cpymemdi) || defined (HAVE_cpymemti)
#define MOVE_RATIO(speed) 2
#else
/* If we are optimizing for space (-Os), cut down the default move ratio. */
#define MOVE_RATIO(speed) ((speed) ? 15 : 3)
#endif
#endif
and rs6000 having cpymem.
More information about the Gcc-bugs
mailing list