From patchwork Thu Feb 9 10:35:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 54855 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp256569wrn; Thu, 9 Feb 2023 02:36:17 -0800 (PST) X-Google-Smtp-Source: AK7set/3FwXPh1bhodMEv0Dis5jCnDG4L0oh/+J+5lfXrP6nybHSvMOOsSRwn25OhFQAMuuEUftA X-Received: by 2002:a50:d58e:0:b0:4a2:7833:e385 with SMTP id v14-20020a50d58e000000b004a27833e385mr13582449edi.22.1675938977464; Thu, 09 Feb 2023 02:36:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675938977; cv=none; d=google.com; s=arc-20160816; b=gApzZ9T+BtjjpUr8w9tH1r33EHa7CEPXZqsTsGORtrlYC7UCWcdLdEls/0FSiH6b7u M7zrkFj3IQ1c94Vz1pV7Nn2Yk7AXQPubZHKaPICAUbUuyAUlaw7nMw5LuGOg28/HYTMn lKoWppmN028mw2mArPD0dN1VbUpTQHR+cJahADmDGgpf9vB9FnMB4L64YiXABEPIZi3v ghOpvktO7xT1vQCB0v8BHjMHWw8ulOrd+Kbp6NIM3TT3QhKfCa47r1L2wKckVQSJWWcp nB+fmgLuJnTotV/6c51HcFBqlxfCpaBlVLMRlP8Ua9STG7Y9Sn4ehKMbPhqLYkDCtjBk u3gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding:cc :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=IyF0b+2KZAUsf555V9tJDUfwTfFRvYFzd8oOm3GJa6E=; b=KXuKEqZgnUgsCwnOctDgnADEC5oGN9RBe6v9U58OHQw5pby+Nx7xL/YevRxuoLMKOr N/Yyi4ydGijtQOm0It18CopB3V5E6YCo7U20sY7/9PzSt9zdJrthLKFrhEFvOkHx+m0B hCYseKORYxC0MZN4Jc4S9pBtenty6knQX36o2okPEC2XkWnEew0SfzxdwevI+46H5VkA Ec9EgCwTZ17n428Tz07IbO+0mpDBMyYgZnvJ93fppeinTtq55FaOzHy5u/lOof6k8e2T DjYLwIcaIAQXQOb45CLdUpj0VNZ6YZrzA+tF/mKpg4YnseEOOTaJ8DL2kUMvV/FOBH8S a6dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MrXjTvJs; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id g3-20020a50ee03000000b0049beca3bf0csi1826602eds.204.2023.02.09.02.36.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:36:17 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MrXjTvJs; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7FB30386480B for ; Thu, 9 Feb 2023 10:36:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 2DD223858296 for ; Thu, 9 Feb 2023 10:35:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2DD223858296 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4907F5C78A; Thu, 9 Feb 2023 10:35:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1675938938; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IyF0b+2KZAUsf555V9tJDUfwTfFRvYFzd8oOm3GJa6E=; b=MrXjTvJs6uT5pzb+y3bSp2PyFZncNmSXElwRXBMo/gdMI/bu2HCLg0RhWV9CKhDnzRJynY WWWYXBdzLElmf6UyNAMTxzeAQZIPW6R4PquXHIwJ8QG84YGpnL4Ya/N7ZPq35re3Rf9BmB ayyexPs6AfxY7uWvUlw2d0RWOb5ZV3U= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1675938938; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IyF0b+2KZAUsf555V9tJDUfwTfFRvYFzd8oOm3GJa6E=; b=VfRhWXRV4CgSi4KiB+OXuvar3kXS4SK7tiFytycDr/ArS9dQ8QTHtZI3IxfTdLMelLqprv qLKmrowJLGM4n3CQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 38EF71339E; Thu, 9 Feb 2023 10:35:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id bOn6DHrM5GMhJwAAMHmgww (envelope-from ); Thu, 09 Feb 2023 10:35:38 +0000 Message-ID: Date: Thu, 9 Feb 2023 11:35:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] docs: add cavear for __builtin_cpu_supports To: gcc-patches@gcc.gnu.org Content-Language: en-US Cc: Gerald Pfeifer X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757349389386071229?= X-GMAIL-MSGID: =?utf-8?q?1757349389386071229?= Document that the function does not work correctly for old VIA processors. Ready to be installed? Thanks, Martin PR target/100758 gcc/ChangeLog: * doc/extend.texi: Document that the function does not work correctly for old VIA processors. --- 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}.