Integrated: 8356924: RISC-V: Clean up cost for vector instructions
Dingli Zhang
dzhang at openjdk.org
Wed May 21 11:45:56 UTC 2025
On Wed, 14 May 2025 04:04:11 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:
> As mentioned in https://bugs.openjdk.org/browse/JDK-8285790 regarding the ARM64 vector instruct modifications:
> Since the new rules are unique and setting different "ins_cost" makes no sense, we have switched to using the default cost.
>
> Currently, there is a similar situation on RISC-V. Over half of the instructions in riscv_v.ad do not include ins_cost definitions. Additionally, as RVV nodes are also unique, we can unify the format by removing these ins_cost entries from riscv_v.ad.
>
> ### Testing
> qemu-system 9.2.3 with UseRVV (ubuntu24.10):
> * [x] Run test/jdk/jdk/incubator/vector (fastdebug)
> * [x] Run test/hotspot/jtreg/compiler/vectorapi (fastdebug)
This pull request has now been integrated.
Changeset: 108e454a
Author: Dingli Zhang <dzhang at openjdk.org>
Committer: Feilong Jiang <fjiang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/108e454a042aaca2a36cd0d8087e7668e3cac29c
Stats: 173 lines in 1 file changed: 0 ins; 173 del; 0 mod
8356924: RISC-V: Clean up cost for vector instructions
Reviewed-by: fjiang, fyang, gcao
-------------
PR: https://git.openjdk.org/jdk/pull/25221
More information about the hotspot-compiler-dev
mailing list