Re: Make more use of subreg_lowpart_offset

2017-10-11 Thread Jeff Law
On 08/23/2017 04:51 AM, Richard Sandiford wrote: > This patch uses subreg_lowpart_offset in places that open-coded > the calculation. It also uses it in regcprop.c to test whether, > after a mode change, the first register in a multi-register group > is still the right one. > > Tested on aarch64-

Make more use of subreg_lowpart_offset

2017-08-23 Thread Richard Sandiford
This patch uses subreg_lowpart_offset in places that open-coded the calculation. It also uses it in regcprop.c to test whether, after a mode change, the first register in a multi-register group is still the right one. Tested on aarch64-linux-gnu and x86_64-linux-gnu, and by making sure that there