src/cpu/x86/vm/macroAssembler_x86.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/cpu/x86/vm/macroAssembler_x86.cpp	Fri Dec 14 19:10:17 2012
--- new/src/cpu/x86/vm/macroAssembler_x86.cpp	Fri Dec 14 19:10:17 2012

*** 3083,3098 **** --- 3083,3099 ---- } } void MacroAssembler::pshufb(XMMRegister dst, AddressLiteral src) { // Used in sign-bit flipping with aligned address. ! assert((UseAVX > 0) || (((intptr_t)src.target() & 15) == 0), "SSE mode requires address alignment 16 bytes"); ! bool aligned_adr = (((intptr_t)src.target() & 15) == 0); + assert((UseAVX > 0) || aligned_adr, "SSE mode requires address alignment 16 bytes"); if (reachable(src)) { ! Assembler::pshufb(dst, as_Address(src), aligned_adr); } else { lea(rscratch1, src); ! Assembler::pshufb(dst, Address(rscratch1, 0), aligned_adr); } } // AVX 3-operands instructions

src/cpu/x86/vm/macroAssembler_x86.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File