Skip to content

Commit a6995a3

Browse files
Volodymyr PaprotskiSandhya Viswanathan
Volodymyr Paprotski
authored and
Sandhya Viswanathan
committed
8354473: Incorrect results for compress/expand tests with -XX:+EnableX86ECoreOpts
Reviewed-by: jbhateja, sviswanathan, epeter
1 parent 9477c42 commit a6995a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5731,7 +5731,7 @@ void C2_MacroAssembler::vector_compress_expand_avx2(int opcode, XMMRegister dst,
57315731
// in a permute table row contains either a valid permute index or a -1 (default)
57325732
// value, this can potentially be used as a blending mask after
57335733
// compressing/expanding the source vector lanes.
5734-
vblendvps(dst, dst, xtmp, permv, vec_enc, false, permv);
5734+
vblendvps(dst, dst, xtmp, permv, vec_enc, true, permv);
57355735
}
57365736

57375737
void C2_MacroAssembler::vector_compress_expand(int opcode, XMMRegister dst, XMMRegister src, KRegister mask,

0 commit comments

Comments
 (0)