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. 2026-11-09 Jakub Jelinek <[email protected]> * 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
