8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions)
authorshade
Thu, 13 Dec 2018 16:14:07 +0100
changeset 53017 e10a1f7aaa13
parent 53016 9f13f8aad8dc
child 53018 8bf9268df0e2
8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions) Reviewed-by: thartmann
src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp
--- a/src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp	Thu Dec 13 15:40:11 2018 +0100
+++ b/src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp	Thu Dec 13 16:14:07 2018 +0100
@@ -29,6 +29,7 @@
 #include "runtime/stubRoutines.hpp"
 #include "macroAssembler_x86.hpp"
 
+#ifdef _LP64
 // Multiply 128 x 128 bits, using 4 pclmulqdq operations
 void MacroAssembler::schoolbookAAD(int i, Register htbl, XMMRegister data,
     XMMRegister tmp0, XMMRegister tmp1, XMMRegister tmp2, XMMRegister tmp3) {
@@ -319,4 +320,5 @@
     vpxor(xmm1, xmm1, xmm1, Assembler::AVX_128bit);
     vpxor(xmm3, xmm3, xmm3, Assembler::AVX_128bit);
     vpxor(xmm15, xmm15, xmm15, Assembler::AVX_128bit);
-}
\ No newline at end of file
+}
+#endif // _LP64