> I personally prefer **NOT** to include BIAS in the gather/scatter
> since I don't known how it will be used.
It was not my intention to suggest to add BIAS here. This can
be done by the respective targets when/if they support mask_*, not
by you. What I meant is that I'm unsure whether to add a
ate: 2023-06-29 23:04
To: juzhe.zhong; gcc-patches
CC: rdapp.gcc; richard.sandiford; rguenther
Subject: Re: [PATCH] Machine Description: Add LEN_MASK_{GATHER_LOAD,
SCATTER_STORE} pattern
Hi Juzhe,
just looking at the documentation changes.
> +@cindex @code{len_mask_gather_load@var{m}@v
Hi Juzhe,
just looking at the documentation changes.
> +@cindex @code{len_mask_gather_load@var{m}@var{n}} instruction pattern
> +@item @samp{len_mask_gather_load@var{m}@var{n}}
> +Like @samp{gather_load@var{m}@var{n}}, but takes an extra len operand
> +as operand 5 and an extra mask operand as op
From: Ju-Zhe Zhong
Hi, Richi and Richard.
This patch is adding LEN_MASK_{GATHER_LOAD,SCATTER_STORE} to allow targets
handle flow control by mask and loop control by length on gather/scatter memory
operations. Consider this following case:
#include
void
f (uint8_t *restrict a,
uint8_t *rest