PPC64 VSX load/store instructions in stubs

Gustavo Romero gromero at linux.vnet.ibm.com
Fri Apr 1 20:36:03 UTC 2016

Hi Martin, Hi Volker

Currently VSX load/store instructions are not being used in PPC64 stubs,
particularly in arraycopy stubs inside generate_arraycopy_stubs() like,
but not limited to, generate_disjoint_{byte,short,int,long}_copy.

We can speed up mass copy using VSX (Vector-Scalar Extension) load/store
instruction in processors >= POWER8, the same way it's already done for
libc memcpy().

This is an initial patch just for jshort_disjoint_arraycopy() VSX vector


What are your thoughts on that? Is there any impediment to use VSX
instructions in OpenJDK at the moment?

Thank you.

Best regards,

More information about the ppc-aix-port-dev mailing list