Re: [AArch64] Handle SVE subregs that are effectively REVs

2018-01-29 Thread James Greenhalgh
On Fri, Jan 26, 2018 at 01:59:40PM +, Richard Sandiford wrote: > Subreg reads should be equivalent to storing the inner register to > memory and loading the appropriate memory bytes back, with subreg > writes doing the reverse. For the reasons explained in the comments, > this isn't what happe

[AArch64] Handle SVE subregs that are effectively REVs

2018-01-26 Thread Richard Sandiford
Subreg reads should be equivalent to storing the inner register to memory and loading the appropriate memory bytes back, with subreg writes doing the reverse. For the reasons explained in the comments, this isn't what happens for big-endian SVE if we simply reinterpret one vector register as havin