Integrated: 8319440: RISC-V: jdk can't be built with clang due to register keyword
ArsenyBochkarev
duke at openjdk.org
Wed Nov 22 16:17:19 UTC 2023
On Tue, 21 Nov 2023 16:20:20 GMT, ArsenyBochkarev <duke at openjdk.org> wrote:
> Hello everyone! I removed the `register` keyword from `read_csr` function, which is used to check CPU vector length. Inside QEMU with RVV I see that the behavior is the same as with `register`. Furthermore, inside GDB I see that register used for `csrr vlenb` is `a0` with and without `register` keyword. With this fix `make hotspot` with latest clang used succeeded without any warnings.
This pull request has now been integrated.
Changeset: a4bd9e4d
Author: Arseny Bochkarev <arseny.bochkarev at syntacore.com>
Committer: Vladimir Kempik <vkempik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a4bd9e4d0bca0218f27a405b8154425441c10f3f
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8319440: RISC-V: jdk can't be built with clang due to register keyword
Reviewed-by: fyang
-------------
PR: https://git.openjdk.org/jdk/pull/16768
More information about the hotspot-compiler-dev
mailing list