[PATCH v4 1/2] MIPS: unaligned load: use SImode for SUBREG if OK (PR98996)

Jeff Law law@redhat.com
Fri Feb 26 02:56:47 GMT 2021



On 2/23/21 3:05 AM, YunQiang Su wrote:
> It is found by ada s-pack96.adb ftbfs, due to 96bit load: 96 = 64 + 32.
> While the 32bit pair of <load>l <load>r is mark as SUBREG, so they are
> not in SImode, make it fail to find suitable insn.
>
> gcc/ChangeLog:
>
> 	PR target/98996
> 	* config/mips/mips.c (mips_expand_ext_as_unaligned_load):
> 	If TARGET_64BIT and dest is SUBREG, we check the width, if it
> 	equal to SImode, we use SImode operation, just like what we are
> 	doing for REG one.
Thanks.  I fixed some minor whitespace issues and installed both patches
in this series.
jeff



More information about the Gcc-patches mailing list