Re: Add subreg_memory_offset helper functions

2017-09-03 Thread Jeff Law
On 08/28/2017 02:21 AM, Richard Sandiford wrote: > This patch adds routines for converting a SUBREG_BYTE offset into a > memory address offset. The two only differ for paradoxical subregs, > where SUBREG_BYTE is always 0 but the memory address offset can be > negative. > > Tested on

Add subreg_memory_offset helper functions

2017-08-28 Thread Richard Sandiford
This patch adds routines for converting a SUBREG_BYTE offset into a memory address offset. The two only differ for paradoxical subregs, where SUBREG_BYTE is always 0 but the memory address offset can be negative. Tested on aarch64-linux-gnu and x86_64-linux-gnu, and by checking there was no