Shenandoah WB and XMM spills?

Roman Kennke rkennke at redhat.com
Tue Dec 12 16:01:25 UTC 2017


Am 12.12.2017 um 16:59 schrieb Roland Westrelin:
> 
> How safe do we think that change really is? The C compiler or libc could
> use fp registers under the hood for bulk copies for instance.
> 
> Roland.
> 

And it does.

The thing is that we first call into our WB stub, which we know does 
*not* use FP regs. Only if that one fails, we call into the runtime, 
which uses memcpy, which will use FP regs. However, the stub also 
saves/restores FP regs before doing that. Should be safe, no?

Roman


More information about the shenandoah-dev mailing list