Integrated: 8320069: RISC-V: Add Zcb instructions

Robbin Ehn rehn at openjdk.org
Tue Jan 9 07:37:27 UTC 2024


On Fri, 15 Dec 2023 13:50:14 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> Hi, this is the instructions for zcb.
> 
> Due to over lack of infrastructure having multiple extension dependent instruction does not fit well.
> Some of these compressed instructions are also missing 1 to 1 mapping, e.g. now we have a compressed not, but the corresponding instruction in uncompressed is still xor.
> I think we need to do some rework here.
> 
> I also I don't like the macro expansion as it hopeless in debugger and 'IDE's (vim+rtags for me).
> (macro stuff was originally done when templates where blacklisted in hotspot)
> 
> And I don't want an option for this, as zcb is coming in hwprobe, if you have compressed on you get them if they are supported (may depend on e.g. zbb).
> 
> I have done some modification since it passed tier1, so I'm running stuff over the weekend.

This pull request has now been integrated.

Changeset: 30f93a29
Author:    Robbin Ehn <rehn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/30f93a29c2f677d0279176b89edf2ecdc06b42ca
Stats:     316 lines in 5 files changed: 275 ins; 0 del; 41 mod

8320069: RISC-V: Add Zcb instructions

Reviewed-by: fyang, vkempik

-------------

PR: https://git.openjdk.org/jdk/pull/17122


More information about the hotspot-dev mailing list