Skip to content
forked from openjdk/jdk

Commit

Permalink
8295662: jdk/incubator/vector tests fail "assert(VM_Version::supports…
Browse files Browse the repository at this point in the history
…_avx512vlbw()) failed"

Reviewed-by: chagedorn, thartmann
  • Loading branch information
Quan Anh Mai committed Oct 19, 2022
1 parent 5eaf568 commit 7b1c676
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1698,18 +1698,7 @@ void C2_MacroAssembler::load_iota_indices(XMMRegister dst, int vlen_in_bytes, Ba
offset += 128;
}
ExternalAddress addr(StubRoutines::x86::vector_iota_indices() + offset);
if (vlen_in_bytes <= 4) {
movdl(dst, addr);
} else if (vlen_in_bytes == 8) {
movq(dst, addr);
} else if (vlen_in_bytes == 16) {
movdqu(dst, addr, noreg);
} else if (vlen_in_bytes == 32) {
vmovdqu(dst, addr, noreg);
} else {
assert(vlen_in_bytes == 64, "%d", vlen_in_bytes);
evmovdqub(dst, k0, addr, false /*merge*/, Assembler::AVX_512bit, noreg);
}
load_vector(dst, addr, vlen_in_bytes);
}

// Reductions for vectors of bytes, shorts, ints, longs, floats, and doubles.
Expand Down

0 comments on commit 7b1c676

Please sign in to comment.