On 8/11/24 3:00 PM, Robin Dapp wrote:
This patch adds else-operand handling to the internal functions.
gcc/ChangeLog:
* internal-fn.cc (add_mask_and_len_args): Rename...
(add_mask_else_and_len_args): ...to this and add else handling.
(expand_partial_load_optab_fn): Use adjusted function.
(expand_partial_store_optab_fn): Ditto.
(expand_scatter_store_optab_fn): Ditto.
(expand_gather_load_optab_fn): Ditto.
(internal_fn_len_index): Adjust for masked loads.
(internal_fn_else_index): Add masked loads.
OK. Obviously this can't be integrated until the whole kit is ACK'd.
But at least these bits are OK.
jeff