From 58edbc93bd5a951c3863f2666827dd075b96dce5 Mon Sep 17 00:00:00 2001 From: Dingli Zhang Date: Tue, 8 Jul 2025 10:28:49 +0800 Subject: [PATCH] 8361532: RISC-V: Several vector tests fail after JDK-8354383 --- 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 716ffae27b598..9adcc1d9c5a9f 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