RFR: 8294087: RISC-V: Refactor instruction alignment assertions

Fei Yang fyang at openjdk.org
Wed Sep 21 08:42:54 UTC 2022


On Wed, 21 Sep 2022 03:54:03 GMT, Xiaolin Zheng <xlinzheng at openjdk.org> wrote:

> This is a trivial refactoring for some instruction alignment assertions. Due to the fact that the `assert (__ offset() % 4 == 0)` is getting used more, this small patch is extracted first to simplify code reviewing.
> This patch doesn't change the code behavior.
> Tested hotspot tier1 and tier2 together with other patches on QEMU.

Can you add in the code alignment assertions introduced by your new RVC proposal [1]?

[1] https://github.com/zhengxiaolinX/jdk/commit/26874527d196cd6c31b1649c8c00ed4f5a6b154a

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

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


More information about the hotspot-dev mailing list