Integrated: 8367692: RISC-V: Align post call nop
Robbin Ehn
rehn at openjdk.org
Tue Sep 30 15:14:46 UTC 2025
On Wed, 24 Sep 2025 11:52:20 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
> Hi please, consider.
>
> As ziccif require instructions to natural aligned to be atomic the 4 byte post call nop must be aligned.
> But I don't want to add a c.nop(2b) to align the nop(4b) which means the jal(r) must also be algined.
> As we have no utility to aligned the end of an instruction sequence the call it self is aligned and uses only 4 byte instructions. Only in the case where we could use an two c-instruction we may loose space.
>
> Thanks, Robbin
This pull request has now been integrated.
Changeset: 07ecc93d
Author: Robbin Ehn <rehn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/07ecc93dbd0b74e2362d369e22b5141289eb1f76
Stats: 144 lines in 7 files changed: 76 ins; 29 del; 39 mod
8367692: RISC-V: Align post call nop
Reviewed-by: fyang, fjiang, mli
-------------
PR: https://git.openjdk.org/jdk/pull/27467
More information about the hotspot-dev
mailing list