From 042c3966d6e94e76a567bbfb2f073cd1735aaa7f Mon Sep 17 00:00:00 2001 From: Sidraya Date: Tue, 26 Mar 2024 15:07:08 +0000 Subject: [PATCH] PopCountVI supported by z14 onwards. --- src/hotspot/cpu/s390/s390.ad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/cpu/s390/s390.ad b/src/hotspot/cpu/s390/s390.ad index 3b02a1c290114..582fd11b4cbc8 100644 --- a/src/hotspot/cpu/s390/s390.ad +++ b/src/hotspot/cpu/s390/s390.ad @@ -1622,9 +1622,9 @@ bool Matcher::match_rule_supported(int opcode) { case Op_MulVF: case Op_DivVF: case Op_SqrtVF: - return (SuperwordUseVX && UseSFPV); + //PopCountVI supported by z14 onwards. case Op_PopCountVI: - return (SuperwordUseVX && UsePopCountInstruction); + return (SuperwordUseVX && UseSFPV); case Op_FmaF: case Op_FmaD: return UseFMA;