Skip to content
Permalink
Browse files

8236944: The legVecZ operand should be limited to zmm0-zmm15 registers

Associate legVecZ operand with vectorz_reg_legacy register class

Reviewed-by: vlivanov, thartmann
  • Loading branch information
Sandhya Viswanathan
Sandhya Viswanathan committed Jan 13, 2020
1 parent 44f7fe5 commit 0b5f4f77e44a80161a8d23bc2d454d9df9ef45ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/cpu/x86/x86.ad
@@ -2143,7 +2143,7 @@ operand vecZ() %{

// Replaces legVec during post-selection cleanup. See above.
operand legVecZ() %{
constraint(ALLOC_IN_RC(vectorz_reg_vl));
constraint(ALLOC_IN_RC(vectorz_reg_legacy));
match(VecZ);

format %{ %}

0 comments on commit 0b5f4f7

Please sign in to comment.