changeset 57663:641736f3fe11

8236944: The legVecZ operand should be limited to zmm0-zmm15 registers Summary: Associate legVecZ operand with vectorz_reg_legacy register class Reviewed-by: vlivanov, thartmann
author sviswanathan
date Mon, 13 Jan 2020 08:27:38 -0800
parents ab10165b4141
children db5f88eb7d26
files src/hotspot/cpu/x86/x86.ad
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/x86/x86.ad	Fri Jan 03 11:10:42 2020 +0100
+++ b/src/hotspot/cpu/x86/x86.ad	Mon Jan 13 08:27:38 2020 -0800
@@ -2143,7 +2143,7 @@
 
 // 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 %{ %}