[vectorIntrinsics+mask] RFR: 8273205: [vector] Crash in C2_MacroAssembler::vprotate_var after JDK-8271366

Jie Fu jiefu at openjdk.java.net
Fri Sep 3 14:08:08 UTC 2021


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

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

Commit messages:
 - 8273205: [vector] Crash in C2_MacroAssembler::vprotate_var after JDK-8271366

Changes: https://git.openjdk.java.net/panama-vector/pull/119/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=119&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273205
  Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/panama-vector/pull/119.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/119/head:pull/119

PR: https://git.openjdk.java.net/panama-vector/pull/119


More information about the panama-dev mailing list