RFR: 8131362: aarch64: C2 does not handle large stack offsets (original) (raw)

Edward Nevill edward.nevill at gmail.com
Fri Jul 17 09:12:39 UTC 2015


On Fri, 2015-07-17 at 10:01 +0100, Andrew Haley wrote:

On 17/07/15 09:52, Edward Nevill wrote: >> > Should it be +8 instead of +4? Or these offsets are not in bytes?: >> > >> > + unspill(rscratch1, true, srcoffset); >> > + spill(rscratch1, true, dstoffset); >> > + unspill(rscratch1, true, srcoffset+4); >> > + spill(rscratch1, true, dstoffset+4); > Ouch! Good catch. > > New webrev. > > http://cr.openjdk.java.net/~enevill/8131362/webrev.03/

I'm a bit more concerned that this did not fail in testing. I guess there were no tests at all for stack-stack spills.

Correct. And it would have to be a 128 bit vector stack-stack spill with an offset >= 512. How would you even provoke such a thing.

Ed.



More information about the hotspot-compiler-dev mailing list