From e0245682c8d5a0daae055045c81248c12fb23c09 Mon Sep 17 00:00:00 2001 From: Dingli Zhang Date: Wed, 9 Jul 2025 05:57:38 +0000 Subject: [PATCH] 8361532: RISC-V: Several vector tests fail after JDK-8354383 Reviewed-by: fyang, fjiang, gcao --- src/hotspot/cpu/riscv/riscv.ad | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/hotspot/cpu/riscv/riscv.ad b/src/hotspot/cpu/riscv/riscv.ad index 716ffae27b5..9adcc1d9c5a 100644 --- a/src/hotspot/cpu/riscv/riscv.ad +++ b/src/hotspot/cpu/riscv/riscv.ad @@ -8426,6 +8426,17 @@ instruct castVV(vReg dst) ins_pipe(pipe_class_empty); %} +instruct castVVMask(vRegMask dst) +%{ + match(Set dst (CastVV dst)); + + size(0); + format %{ "# castVV of $dst" %} + ins_encode(/* empty encoding */); + ins_cost(0); + ins_pipe(pipe_class_empty); +%} + // ============================================================================ // Convert Instructions