[PATCH] PR middle-end/103059: reload: Also accept ASHIFT with indexed addressing

Hans-Peter Nilsson hp@bitrange.com
Fri Nov 12 23:22:55 GMT 2021


On Mon, 8 Nov 2021, Maciej W. Rozycki wrote:
> On Sun, 7 Nov 2021, Hans-Peter Nilsson wrote:
> > (I thought you'd use 6cb68940dcf9 and do the same for VAX.)
>
>  I could, easily, but being confined to gcc/config/cris I don't expect it
> to be included in the build let alone trigger anything.

There was some level of misunderstanding here, but even looking
closer, my suggestion wouldn't help.  Still, I'll be more
verbose:

I don't think you got me here.  I mean, do as in 6cb68940dcf9
and for VAX create a define_insn_and_split, recognized at reload
time, where you recognize the MULT form and translate that into
the ASHIFT form, to help reload.

But looking closer, the situation requires a non-cc0-clobbering
insn, but AFAICT VAX only has MOVA and it clobbers
VAX_PSL_REGNUM.  Nevermind...

brgds, H-P


More information about the Gcc-patches mailing list