Message ID | 20240108095641.D66D8385842A@sourceware.org |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp921678dyq; Mon, 8 Jan 2024 01:56:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IH08omQ+MIyH6LqydqmF5TBYgQMp+fkUCKTYhcGHh6THT+LFWsjdNXPMn/gEJCoeYCfTU3A X-Received: by 2002:a05:620a:24d4:b0:783:1dde:8e9 with SMTP id m20-20020a05620a24d400b007831dde08e9mr2689601qkn.145.1704707802789; Mon, 08 Jan 2024 01:56:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704707802; cv=pass; d=google.com; s=arc-20160816; b=xKVHb5ZAToidb18RYbfLi8hI76eMrBbNrFkS82SwT7mrTvcjW51B6C+UjD+ECZ6eVi fYjcXgnXI2Rqm+Dy2KYMUgY1lcaBItx3lQMyGurcnivisAEH6KUoD4MvfZud9ZqCQqvW OE/PCtGUX9luaJ7xewtbilEzmWP1w8N9A0eCsM3W4CDHbNyZ/ee2SSPrLncX1WnqSqlX n4QnK+T3W/jcz17kR6LoTL5mf++6xVVlL+YWK1ak0oxB2k5MYf1ZzLm3esCgsfuaYNPi 83CbdPZtOVjza//avySZHi/Sx+Ms1gOwC5EUc76lLURiZucaKEmsTTMorROgAtHLRzna mQCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:errors-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:mime-version :subject:cc:to:from:date:dkim-signature:dkim-signature :dkim-signature:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=gM2ej9osjuEb57hmCqYbOj2SMQseHNTpMICUNjG5CC4=; fh=xU8YuzMw+NyphSXojZl9lSRKRQpiKtYDdEM1umX8wAA=; b=u4jAzQHLdrFKo8tDNUVbu5sV0tIBT+VZUbYhqbv2tqqUU/WKjfi/Xvelmr0B3AToLz o/iQgLGwrEcsZdrYIwkcRZfuFjdE4XXM5dNHUYzQeF3VMrmZY1+LklmT0c3kV9kAnq5x +iye1NhE3/DfCmbUFpKPYU4x3X544jy6y0FEt2etN0GhkSnw9TvJUlVKnNlJJ2sXHDhg DyN6lu7llACKYbOz9UoTgt3n0sIE3+7WbvzBdB7pDJqeLG1TK82YWHUkwZXf77NqvGm3 EBYZLFfS7IVVBbLBo0kreZU7ouPZSVEMTU9mETM2OxANZe2SWM7rMeSNKH9eD5vXKUwr Ud/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=nvaA87m9; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=3eJ98vtp; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ep3UA6PU; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id qs15-20020a05620a394f00b0078166136e7fsi7734206qkn.598.2024.01.08.01.56.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:56:42 -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.de header.s=susede2_rsa header.b=nvaA87m9; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=3eJ98vtp; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ep3UA6PU; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D66D8385842A for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 09:56:41 +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 [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 263F43858293 for <gcc-patches@gcc.gnu.org>; Mon, 8 Jan 2024 09:55:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 263F43858293 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 263F43858293 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704707745; cv=none; b=PrjKY8RGZcf/BbB9tq2eLCQlSRntXQpqddHqOPfhaGIXLeoPCCZufUQzFHsCf6QUdUXwf0nmoLm4eWDHK2Swak/e52RVluXTPYCGRPiEzPHOaHJaCaBYwOjfWRvYAh5cyL7AaNrkRiOwXXprbubo8064mNzVQrDjFPFvDbEvRzA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704707745; c=relaxed/simple; bh=ACxV+hzc8fTKBXKWrmkARARzVGBcAI5mEXU0SLZ0P3o=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date: From:To:Subject:MIME-Version; b=i8TxfrBp67VBRGqD134nKKoAA56kpJIO3b0EFLME98Ssvj1Xo6gw/kNFqubObR7BcDcEF6CKievcFja+KQ4Uc4vXR62VDUaA5RqVbVu63wr2wsGrQja5HubNGV4oQxY1CghpDpcIDSM5cZi4wyRPgYsVZENYSD4QA+9eHkY/+yI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [10.168.4.150] (unknown [10.168.4.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 2DE251F799; Mon, 8 Jan 2024 09:55:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704707743; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=gM2ej9osjuEb57hmCqYbOj2SMQseHNTpMICUNjG5CC4=; b=nvaA87m9UcjWmJss8RpXH89+p1nwCzALZsWgkXy1K2XylToctiYoZzw+ES4ugSkXh920Pf 1pHT6ezqdemyWkyDQvwSqXe3oLPv3vv0L7TcvKV2Vui2hhNBcjBSCYifMU1mkMm1dzyP6P JYn1H0ciRbPdNwNUsaN8joYKfD+96XQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704707743; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=gM2ej9osjuEb57hmCqYbOj2SMQseHNTpMICUNjG5CC4=; b=3eJ98vtphrap1hEp9aR4ATBtWPftjbSXY57q2BXF5IMo//gUoflByU+pfQlUJRNLm7M3ml tw9cxSgNHUXffzDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704707742; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=gM2ej9osjuEb57hmCqYbOj2SMQseHNTpMICUNjG5CC4=; b=ep3UA6PUa4DBkdV/o0b+O7t+3cLKsMlQs9f53kpOBoy/p6dKMVHY9Bmqsf+yppb9flGrEJ xziG4md2PZ/oWxdU9OQBpUqByDyXOHt2SWbz5HcH5XHnt4gG8P1swUbttclKsxa9jQMcz0 J20zp1fzgoL5MIzs4Rhl4XE2uhIc3ok= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704707742; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=gM2ej9osjuEb57hmCqYbOj2SMQseHNTpMICUNjG5CC4=; b=CR4VUEXLJNOU1JgP7vrxWcwDDq6aqL7O8UKpAamdSYIXdxWFqGjg0akZM7SvUAGt2AUtlY MdwRi0aVjZ5DwpBA== Date: Mon, 8 Jan 2024 10:50:44 +0100 (CET) From: Richard Biener <rguenther@suse.de> To: gcc-patches@gcc.gnu.org cc: hjl.tools@gmail.com Subject: [PATCH] Clarify -mmovbe documentation MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Authentication-Results: smtp-out2.suse.de; none X-Spam-Score: 1.21 X-Spamd-Result: default: False [1.21 / 50.00]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.19)[-0.970]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-0.00)[36.35%]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; MISSING_MID(2.50)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_CC(0.00)[gmail.com] X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, MISSING_MID, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Message-Id: <20240108095641.D66D8385842A@sourceware.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787515688940314865 X-GMAIL-MSGID: 1787515688940314865 |
Series |
Clarify -mmovbe documentation
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Richard Biener
Jan. 8, 2024, 9:50 a.m. UTC
It was noticed that -mmovbe doesn't use movbe for __builtin_bswap{32,64} when not optimizing. The follownig adjusts the documentation to say it will be used for optimizing and applies to all byte swaps, not just those carried out via builtin function calls. OK? Thanks, Richard. * doc/invoke.texi (-mmovbe): Clarify. --- gcc/doc/invoke.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 68d1f364ac0..8cf99f395a5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -34708,8 +34708,8 @@ see @ref{Other Builtins} for details. @opindex mmovbe @item -mmovbe -This option enables use of the @code{movbe} instruction to implement -@code{__builtin_bswap32} and @code{__builtin_bswap64}. +This option enables use of the @code{movbe} instruction to optimize +byte swapping of four and eight byte entities. @opindex mshstk @item -mshstk