RFR: 8186461: Zero's atomic_copy64() should use SPE instructions on linux-powerpcspe

Andrew Haley aph at redhat.com
Fri Nov 24 17:33:32 UTC 2017


On 24/11/17 11:32, John Paul Adrian Glaubitz wrote:
> Thus, the current implementation of atomic_copy64() will not build
> on PowerPC e500 systems. This issue was already discussed in 2010
> but the proposed change was never merged [2]. While I think the
> 2010 approach was clever, I have decided to prefer the more explicit
> solution and not rely on the compiler generating the code we want,
> hence the use of evldd and evstdd.

I agree.

> For reference of these instructions,
> see [3], page 184 and [4].
> 
> The changeset for review can be found in [5].

That's fine, thanks.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-dev mailing list