From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 9C5163858409; Thu, 9 Feb 2023 10:36:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C5163858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675939005; bh=Q+Q624hEgW6LW7qWEVI2vbPvKf++VscNyy0cQ8M+uEs=; h=From:To:Subject:Date:From; b=Wrl4FtUPEeqvlEF2aQT7KsyOfU19W7yQQ8m+k3gqN9/Akrq4eThYnS0Osrs3X0yZt xvk2ppSVwyGjNdk6uPu/8w9ogVYFaVIFrvYPBPEpEtbO4iJ1opbFF6BsCh4Fj9x5t+ uhHl7+j1l/wuU5oLaqA+mzL5sC/LoA1qyrqozom0= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/PR100758-__builtin_cpu_supports-centaur)] docs: add caveat for __builtin_cpu_supports X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/PR100758-__builtin_cpu_supports-centaur X-Git-Oldrev: 9453e3cd0ffd0c377a648b83a9a5fdc5809e60d7 X-Git-Newrev: 8eaa92136781f5416329e3f6fa0bf2435a161a8a Message-Id: <20230209103645.9C5163858409@sourceware.org> Date: Thu, 9 Feb 2023 10:36:45 +0000 (GMT) List-Id: https://gcc.gnu.org/g:8eaa92136781f5416329e3f6fa0bf2435a161a8a commit 8eaa92136781f5416329e3f6fa0bf2435a161a8a Author: Martin Liska Date: Thu Feb 9 11:33:31 2023 +0100 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: --- gcc/doc/extend.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5a026c4b48c..2aedf6dfe69 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: The 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}.