RFR: 8301739: AArch64: Add optimized rules for vector compare with immediate for SVE

Chang Peng duke at openjdk.org
Wed Apr 12 08:49:35 UTC 2023


On Tue, 11 Apr 2023 08:32:38 GMT, Andrew Haley <aph at openjdk.org> wrote:

> At some point someone must realize that
> 
> `((-(1 << size)) <= n->get_int()) && (n->get_int() < (1 << size))`
> 
> could be a function.

I think this function can make this predicate more clearly, but I found there are many predicates to modify in aarch64.ad.
I suggest using an extra patch to add this function and modify all similar predicates.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13200#discussion_r1163820799


More information about the hotspot-compiler-dev mailing list