Skip to content

Commit 6aa09f0

Browse files
committedApr 7, 2022
8282312: Minor corrections to evbroadcasti32x4 intrinsic on x86
Backport-of: 8b45dbdae6e5dee85ef65ce25850ce692ad3e965
1 parent 3e833fb commit 6aa09f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/hotspot/cpu/x86/assembler_x86.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -7067,12 +7067,12 @@ void Assembler::vpbroadcastq(XMMRegister dst, Address src, int vector_len) {
70677067

70687068
void Assembler::evbroadcasti32x4(XMMRegister dst, Address src, int vector_len) {
70697069
assert(vector_len != Assembler::AVX_128bit, "");
7070-
assert(VM_Version::supports_avx512dq(), "");
7070+
assert(VM_Version::supports_evex(), "");
70717071
assert(dst != xnoreg, "sanity");
70727072
InstructionMark im(this);
70737073
InstructionAttr attributes(vector_len, /* vex_w */ false, /* legacy_mode */ false, /* no_mask_reg */ true, /* uses_vl */ true);
70747074
attributes.set_rex_vex_w_reverted();
7075-
attributes.set_address_attributes(/* tuple_type */ EVEX_T2, /* input_size_in_bits */ EVEX_64bit);
7075+
attributes.set_address_attributes(/* tuple_type */ EVEX_T4, /* input_size_in_bits */ EVEX_32bit);
70767076
// swap src<->dst for encoding
70777077
vex_prefix(src, 0, dst->encoding(), VEX_SIMD_66, VEX_OPCODE_0F_38, &attributes);
70787078
emit_int8(0x5A);

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Apr 7, 2022

@openjdk-notifier[bot]
Please sign in to comment.