changeset 53195:e10a1f7aaa13

8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions) Reviewed-by: thartmann
author shade
date Thu, 13 Dec 2018 16:14:07 +0100
parents 9f13f8aad8dc
children 8bf9268df0e2
files src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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