[PATCH 2/4 GCC11] Add target hook stride_dform_valid_p
Richard Biener
rguenther@suse.de
Mon Jan 20 11:47:00 GMT 2020
On Mon, 20 Jan 2020, Richard Sandiford wrote:
> "Kewen.Lin" <linkw@linux.ibm.com> writes:
> > gcc/ChangeLog
> >
> > 2020-01-16 Kewen Lin <linkw@gcc.gnu.org>
> >
> > * config/rs6000/rs6000.c (TARGET_STRIDE_DFORM_VALID_P): New macro.
> > (rs6000_stride_dform_valid_p): New function.
> > * doc/tm.texi: Regenerate.
> > * doc/tm.texi.in (TARGET_STRIDE_DFORM_VALID_P): New hook.
> > * target.def (stride_dform_valid_p): New hook.
>
> It looks like we should able to derive this information from the normal
> legitimate_address_p hook.
>
> Also, "D-form" vs. "X-form" is AFAIK a PowerPC-specific classification.
> It would be good to use a more generic term in target-independent code.
Note the whole series is also stage1 material.
Richard.
More information about the Gcc-patches
mailing list