[PATCH] emit-rtl.c: Allow vector subreg of float vectors

Richard Sandiford richard.sandiford@arm.com
Mon Aug 10 19:05:05 GMT 2020


"Stubbs, Andrew" <Andrew_Stubbs@mentor.com> writes:
> Is GET_INNER_MODE valid for scalers though?

Yeah, GET_MODE_INNER (x) == x for scalars.  That makes GET_MODE_INNER
useful for stripping vectorness or complexness without having to check
for them first.  It's also useful when working out what the valid shift
ranges are for immediate shifts, and other things like that.

Thanks,
Richard


More information about the Gcc-patches mailing list