Integrated: 8318827: RISC-V: Improve readability of fclass result testing

Feilong Jiang fjiang at openjdk.org
Sun Oct 29 10:18:43 UTC 2023


On Wed, 25 Oct 2023 14:42:07 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

> Hi, please consider.
> 
> Currently, we test results of `fclass` instruction with hard-coded bits which has bad readability. This patch adds an enumeration of the flcass mask bits for ease of use.
> 
> Testing:
> 
> - [x] tier1 with release build

This pull request has now been integrated.

Changeset: db340257
Author:    Feilong Jiang <fjiang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/db3402577a2c14a41045753a1ffe2829a6bdda91
Stats:     32 lines in 4 files changed: 19 ins; 4 del; 9 mod

8318827: RISC-V: Improve readability of fclass result testing

Reviewed-by: vkempik, luhenry, fyang

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

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


More information about the hotspot-dev mailing list