From: Martin Liska Date: Thu, 9 Feb 2023 10:33:31 +0000 (+0100) Subject: docs: add caveat for __builtin_cpu_supports X-Git-Tag: basepoints/gcc-14~1452 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1189d1b38e2b9507488ea294cda771c79e972c1d;p=thirdparty%2Fgcc.git docs: add caveat for __builtin_cpu_supports Document that the function does not work correctly for old VIA processors. PR target/100758 gcc/ChangeLog: * doc/extend.texi: Document that the function does not work correctly for old VIA processors. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5a026c4b48ce..66a9d8898815 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -22071,6 +22071,9 @@ else count = generic_countbits (n); //generic implementation. @} @end smallexample + +Caveat: This built-in function does not work correctly on old VIA +processors (Centaur family). @end deftypefn The following built-in functions are made available by @option{-mmmx}.