Skip to content

Commit

Permalink
8332533: RISC-V: Enable vector variable shift instructions for machin…
Browse files Browse the repository at this point in the history
…es with RVV

Reviewed-by: fyang, mli
  • Loading branch information
zifeihan authored and RealFYang committed May 22, 2024
1 parent 5f804b2 commit 67f03f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/riscv/matcher_riscv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
static const bool int_in_long = true;

// Does the CPU supports vector variable shift instructions?
static constexpr bool supports_vector_variable_shifts(void) {
return false;
static bool supports_vector_variable_shifts(void) {
return UseRVV;
}

// Does target support predicated operation emulation.
Expand Down

1 comment on commit 67f03f2

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.