[RFR]: 8186461: zero: Don't use PowerPC FPU instructions on targets without FPU

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sat Aug 19 10:31:44 UTC 2017


On 08/19/2017 11:22 AM, Andrew Haley wrote:
> That does not look right.  Surely we need an alternative
> implementation?

Those machines in question are usually single-CPU, so we probably
don't need any particular inline assembly to perform atomic copy
on these machines.

However, there are actually machines - I have two of these - which
have a dual-core configuration. So, using inline assembly to perform
the atomic operation might make sense here.

While these CPUs don't actually have an FPU, they have something
called SPE instructions which are some sort of FPU replacement.

I will have a closer look later to figure out whether I can find
something in the data sheet [1].

See [1] and [2].

Adrian

> [1] http://www.nxp.com/docs/en/reference-manual/E500CORERM.pdf
> [2] https://en.wikipedia.org/wiki/PowerPC_e500

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list