[aarch64-port-dev ] RFR: JDK8: Add Support for SHA intrinsics

Edward Nevill edward.nevill at linaro.org
Tue Nov 18 09:37:59 UTC 2014


On 18 November 2014 09:21, Andrew Haley <aph at redhat.com> wrote:

> On 18/11/14 08:49, Edward Nevill wrote:
> > OK to push to JDK8 and JDK9?
>
> OK, but I'd like one small change: can we get rid of some of the
> #ifndef BUILTIN_SIM stuff if we simulate getauxval(AT_HWCAP)?
>

Sure, is this what you had in mind?

At the head of vm_version_aarch64.cpp we do

#ifndef BUILTIN_SIM
#include <sys/auxv.h>
#include <asm/hwcap.h>
#else
#define getauxval(hwcap) 0
#endif

And then delete all the remaining conditionalisation on BUILTIN_SIM.

Or were you thinking of something else?

Regards,
Ed.


More information about the aarch64-port-dev mailing list