[vectorIntrinsics+mask] RFR: 8273205: [vector] Crash in C2_MacroAssembler::vprotate_var after JDK-8271366 [v2]
Jie Fu
jiefu at openjdk.java.net
Sun Sep 5 14:31:00 UTC 2021
On Sun, 5 Sep 2021 14:17:17 GMT, Jie Fu <jiefu at openjdk.org> wrote:
>> Hi all,
>>
>> After JDK-8271366, `arch_supports_vector()` fails to check whether the rotate operation is directly supported by the target ISA.
>>
>> So `Matcher::match_rule_supported_vector` should be added in `inline_vector_broadcast_int()` and `inline_vector_nary_operation()` to prevent generation of unsupported rotate operation IR patterns.
>>
>> Thanks.
>> Best regards,
>> Jie
>
> Jie Fu has updated the pull request incrementally with one additional commit since the last revision:
>
> Add gvn().transform for rotate operation
The reason for the crash is that rotate operation fails to degenerate_vector_rotate when `use_predicate=false` on unsupported platforms.
To call `VectorNode::degenerate_vector_rotate`, `gvn().transform(operation)` should be added.
More testing is in progress.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/119
More information about the panama-dev
mailing list