--- a/src/hotspot/cpu/ppc/assembler_ppc.inline.hpp Mon Oct 09 11:51:20 2017 +0200
+++ b/src/hotspot/cpu/ppc/assembler_ppc.inline.hpp Mon Oct 09 13:56:59 2017 +0200
@@ -1057,6 +1057,14 @@
#endif
}
+inline void Assembler::vec_perm(VectorRegister dest, VectorRegister first, VectorRegister second, VectorRegister perm) {
+#if defined(VM_LITTLE_ENDIAN)
+ vperm(dest, second, first, perm);
+#else
+ vperm(dest, first, second, perm);
+#endif
+}
+
inline void Assembler::load_const(Register d, void* x, Register tmp) {
load_const(d, (long)x, tmp);
}