[jdk18] Integrated: 8279076: C2: Bad AD file when matching SqrtF with UseSSE=0

Aleksey Shipilev shade at openjdk.java.net
Wed Dec 22 20:20:17 UTC 2021


On Tue, 21 Dec 2021 19:32:18 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See the reproducer and the analysis in the bug. 
> 
> The fix is simple: `Matcher::match_rule_supported` should handle the predicates for current `SqrtF` and `SqrtD` match rules.
> 
> Additional testing:
>  - [x] Linux x86_32 `-XX:UseAVX=0 -XX:UseSSE=0`, new test now passes
>  - [x] Linux x86_32 `-XX:UseAVX=0 -XX:UseSSE=1`, new test passes
>  - [x] Linux x86_32 `-XX:UseAVX=0 -XX:UseSSE=2`, new test passes
>  - [x] Linux x86_32 `-XX:UseAVX=0 -XX:UseSSE=0`, `jdk/incubator/vector/` now passes
>  - [x] Linux x86_32 `-XX:UseAVX=0 -XX:UseSSE=1`, `jdk/incubator/vector/` passes
>  - [x] Linux x86_32 `-XX:UseAVX=0 -XX:UseSSE=2`, `jdk/incubator/vector/` passes (some unrelated failures)
>  - [x] Linux x86_64, new test passes

This pull request has now been integrated.

Changeset: 9d5ae2e3
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk18/commit/9d5ae2e38074c3df354aeab19ebbab7d4872165a
Stats:     64 lines in 2 files changed: 64 ins; 0 del; 0 mod

8279076: C2: Bad AD file when matching SqrtF with UseSSE=0

Reviewed-by: kvn, sviswanathan

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

PR: https://git.openjdk.java.net/jdk18/pull/60


More information about the hotspot-compiler-dev mailing list