[PATCH] vect: Add bias parameter for partial vectorization

Robin Dapp rdapp@linux.ibm.com
Thu Oct 28 14:44:19 GMT 2021


Hi,

as discussed in
https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582627.html this
introduces a bias parameter for the len_load/len_store ifns as well as
optabs that is meant to distinguish between Power and s390 variants.
The default is a bias of 0, while in s390's case vll/vstl do not support
lengths of zero bytes and a bias of -1 should be used.

Bootstrapped and regtested on Power9 (--with-cpu=power9) and s390
(--with-arch=z15).

The tiny changes in the Power backend I will post separately.

Regards
 Robin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partial-vect-bias.patch
Type: text/x-patch
Size: 8554 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211028/3aa6c622/attachment.bin>


More information about the Gcc-patches mailing list