Skip to content
Permalink
Browse files
8280976: Incorrect encoding of avx512 vpsraq instruction with mask an…
…d constant shift.

Reviewed-by: neliasso, thartmann
  • Loading branch information
Jatin Bhateja committed Feb 2, 2022
1 parent 97af323 commit 48a32b5f3aa1b238bc9857002325579a5b041685
Showing 1 changed file with 1 addition and 1 deletion.
@@ -9301,7 +9301,7 @@ void Assembler::evpsraq(XMMRegister dst, KRegister mask, XMMRegister src, int sh
attributes.reset_is_clear_context();
}
int encode = vex_prefix_and_encode(xmm4->encoding(), dst->encoding(), src->encoding(), VEX_SIMD_66, VEX_OPCODE_0F, &attributes);
emit_int24(0x73, (0xC0 | encode), shift & 0xFF);
emit_int24(0x72, (0xC0 | encode), shift & 0xFF);
}

void Assembler::evpsllw(XMMRegister dst, KRegister mask, XMMRegister nds, XMMRegister src, bool merge, int vector_len) {

1 comment on commit 48a32b5

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 48a32b5 Feb 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.