Re: Make more use of subreg_size_lowpart_offset

2017-10-12 Thread Jeff Law
On 08/23/2017 04:52 AM, Richard Sandiford wrote: > This patch uses subreg_size_lowpart_offset in places that open-coded > the calculation. The reload use (and the LRA one that was based on it) > seemed to ignore the BYTES_BIG_ENDIAN != WORDS_BIG_ENDIAN case; it's not > obvious whether that was del

Make more use of subreg_size_lowpart_offset

2017-08-23 Thread Richard Sandiford
This patch uses subreg_size_lowpart_offset in places that open-coded the calculation. The reload use (and the LRA one that was based on it) seemed to ignore the BYTES_BIG_ENDIAN != WORDS_BIG_ENDIAN case; it's not obvious whether that was deliberate or an oversight. Tested on aarch64-linux-gnu and