[vectorIntrinsics+mask] RFR: 8270349: Initial X86 backend support for optimizing masking operations on AVX512 targets. [v3]
Jatin Bhateja
jbhateja at openjdk.java.net
Thu Aug 12 12:23:47 UTC 2021
On Mon, 26 Jul 2021 10:30:42 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> VectorNode::make_mask_node is only going to be called for masked operations. I don't think AndVMask is being created for non-predicated targets. So we can take either approach.
>
> Ok, can the opcodes like `AndVMask` be blocked for non-predicated targets in `Matcher::match_rule_supported` ?
Matcher::match_rule_supported only check the existence of pattern based on the opcode and default return value is true.
AddVI v1 v2
AddVI v1 v2 mask
Where as match_rule_supported_vector_masked initially calls match_rule_supported, it then return false in default case and true only for operations for which masked patterns exist.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/99
More information about the panama-dev
mailing list