From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id E1D653858C60; Thu, 9 Feb 2023 10:49:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1D653858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675939799; bh=wiENwqhrnwXeIXDHCWIG+yWwJ/m5kyllDpi3hRqXisI=; h=From:To:Subject:Date:From; b=Qxyl+n+2NmM56RS0ofi8LFpc0KaOvzTl7MOy2YMjfdd5pebs5f0p4+XaPxjrcvfrt 0fj8OGkL2C16vuUuYo8W1owtF81FVkhIdmc2TNsRKAcpnqnRIQ7ViwyTz8qwqgtwse TpH//7DKW90gurcLaXJzWq63nLfvUYreY42fiFTM= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5755] docs: add caveat for __builtin_cpu_supports X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: 1eb78a935aa90edb21f3102b310b661e36488abe X-Git-Newrev: 1189d1b38e2b9507488ea294cda771c79e972c1d Message-Id: <20230209104959.E1D653858C60@sourceware.org> Date: Thu, 9 Feb 2023 10:49:59 +0000 (GMT) List-Id: https://gcc.gnu.org/g:1189d1b38e2b9507488ea294cda771c79e972c1d commit r13-5755-g1189d1b38e2b9507488ea294cda771c79e972c1d 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..66a9d889881 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}.