Integrated: 8300109: RISC-V: Improve code generation for MinI/MaxI nodes

Fei Yang fyang at openjdk.org
Wed Jan 18 01:18:28 UTC 2023


On Fri, 13 Jan 2023 09:45:01 GMT, Fei Yang <fyang at openjdk.org> wrote:

> As described by the issue, code generation for MinI/MaxI nodes on RISC-V could be improved when one of the source register is the same as the destination register. Also the code could be further simplified when that source register is constant 0 making use of the dedicated zero register of the architecture. This adds new match rules for those cases. 
> 
> Testing:
> - [x] Run the new jtreg test added by: https://github.com/openjdk/jdk/pull/11570
> - [x] Tier1-3 tested with release build on HiFive Unmatched board.
> - [x] Run non-trivial benchmark workloads (dacapo, specjvm, renaissance, etc) with fastdebug build on HiFive Unmatched board.

This pull request has now been integrated.

Changeset: f1194dc0
Author:    Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f1194dc07ec347f4f9d785e7647983da61441c0e
Stats:     92 lines in 1 file changed: 90 ins; 0 del; 2 mod

8300109: RISC-V: Improve code generation for MinI/MaxI nodes

Reviewed-by: fjiang, luhenry, shade

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

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


More information about the hotspot-compiler-dev mailing list