]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
docs: add caveat for __builtin_cpu_supports
authorMartin Liska <mliska@suse.cz>
Thu, 9 Feb 2023 10:33:31 +0000 (11:33 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 9 Feb 2023 10:49:45 +0000 (11:49 +0100)
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.

gcc/doc/extend.texi

index 5a026c4b48cee57e361c1d34bfd3b582149bb2fa..66a9d8898815567289a83dbc2436aa022701896f 100644 (file)
@@ -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}.