[PATCH] c, c++, middle-end, i386, libstdc++: Introduce __builtin_bit{compress,expand}g builtins [PR128459]
Richard Biener
rguenther@suse.de
Mon Nov 9 10:09:27 GMT 2026
- Previous message (by thread): [PATCH] c, c++, middle-end, i386, libstdc++: Introduce __builtin_bit{compress,expand}g builtins [PR128459]
- Next message (by thread): [PATCH] c, c++, middle-end, i386, libstdc++: Introduce __builtin_bit{compress,expand}g builtins [PR128459]
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Mon, 9 Nov 2026, Jakub Jelinek wrote:
> On Mon, Nov 09, 2026 at 09:21:48AM +0100, Richard Biener wrote:
> > Please update doc/ifn.texi as well.
>
> Here is an incremental patch I'll integrate into the patch before
> committing.
LGTM.
> 2026-11-09 Jakub Jelinek <jakub@redhat.com>
>
> * doc/ifn.texi (IFN_BSWAP, IFN_BITREVERSE, IFN_CLMUL, IFN_CLMUL_WIDEN,
> IFN_BITCOMPRESS, IFN_BITEXPAND): Document.
>
> --- a/gcc/doc/ifn.texi 2026-11-09 10:14:26.214573607 +0100
> +++ b/gcc/doc/ifn.texi 2026-11-09 10:38:18.525153936 +0100
> @@ -1128,6 +1128,38 @@ instruction pattern for integer and inte
> The @code{IFN_POPCOUNT} internal function directly maps to the @code{popcount}
> instruction pattern for integer and integer vector modes.
>
> +@cindex @code{IFN_BSWAP} internal function
> +@item @samp{IFN_BSWAP}
> +The @code{IFN_BSWAP} internal function directly maps to the @code{bswap}
> +instruction pattern for integer modes with libgcc or inline fallback.
> +
> +@cindex @code{IFN_BITREVERSE} internal function
> +@item @samp{IFN_BITREVERSE}
> +The @code{IFN_BITREVERSE} internal function directly maps to the
> +@code{bitreverse} instruction pattern for integer modes with inline
> +fallback.
> +
> +@cindex @code{IFN_CLMUL} internal function
> +@item @samp{IFN_CLMUL}
> +The @code{IFN_CLMUL} internal function directly maps to the @code{clmul}
> +instruction pattern for integer modes with inline fallback.
> +
> +@cindex @code{IFN_CLMUL_WIDEN} internal function
> +@item @samp{IFN_CLMUL_WIDEN}
> +The @code{IFN_CLMUL_WIDEN} internal function directly maps to the
> +@code{clmul_widen} instruction pattern for integer modes with inline fallback.
> +Return type is @code{COMPLEX_TYPE}.
> +
> +@cindex @code{IFN_BITCOMPRESS} internal function
> +@item @samp{IFN_BITCOMPRESS}
> +The @code{IFN_BITCOMPRESS} internal function directly maps to the
> +@code{bitcompress} instruction pattern for integer modes with inline fallback.
> +
> +@cindex @code{IFN_BITEXPAND} internal function
> +@item @samp{IFN_BITEXPAND}
> +The @code{IFN_BITEXPAND} internal function directly maps to the
> +@code{bitcompress} instruction pattern for integer modes with inline fallback.
> +
> @end table
>
> @node Other Internal Functions
>
>
> Jakub
>
>
--
Richard Biener <rguenther@suse.de>
SUSE Software Solutions Germany GmbH,
Frankenstrasse 146, 90461 Nuernberg, Germany;
GF: Stefan Gaiser, Jochen Jaser, Abhinav Puri; (HRB 36809, AG Nuernberg)
- Previous message (by thread): [PATCH] c, c++, middle-end, i386, libstdc++: Introduce __builtin_bit{compress,expand}g builtins [PR128459]
- Next message (by thread): [PATCH] c, c++, middle-end, i386, libstdc++: Introduce __builtin_bit{compress,expand}g builtins [PR128459]
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Libstdc++
mailing list