From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 88A173858C2C for ; Fri, 26 May 2023 14:58:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 88A173858C2C Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=gmail.com Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2Ytl-0005MP-BY for gcc@gnu.org; Fri, 26 May 2023 10:58:35 -0400 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9707313e32eso157007166b.2 for ; Fri, 26 May 2023 07:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685113111; x=1687705111; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=z6BL+wSIXnwRW0RpJVYK3/vD4PMuCJM/wGd2dZzfsfA=; b=IaNe3iifQVR2Rk5f2/Wad9QWQqCuFy00gN07hx+EJe7v8fi0Pf9ULu/WBZlwMFeOCx Uu3fIBNNQWXp67XDG3fyIxiopT0x78k23XiAy5lPVTdLaoZnPky9DwsQFLIT0V7n8Wpq Y3pwz7jqppUayQ5fFcCgzDOc2wpq3FGRvv+hIei2Yghi0MWLDKbDCMsmTOVZmVIv5+Fz UFcGtyF818GzjhgNSpagCjBK4LttvIqaVzYQ5MpzqYbD1a5M+FqqYFj5B0KivQWysR5E CuQ0AHWgy8MOAhAPecF5c+SM1N9BX/PecKe6p1cF7VDFyF+E4kSNcS/qSdvGvbzetswj ppkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685113111; x=1687705111; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z6BL+wSIXnwRW0RpJVYK3/vD4PMuCJM/wGd2dZzfsfA=; b=b06/15mmtTA7H4AdRKS5Km22BbO6j+UdyS8n4xxCD+MY314XCKwLl4ai5sUhWD5kE6 Dcz828mnIAHiAvfNHm42g4/zU0AGqpHvWDTvABZGPWUGC4sDIuFf5MQGGQImSK4gm/Ol dNXO9n8FuCXULCyc7vhWZLmROrZXUM4SxSgUONii8XNScz500m6kXtZk/ira7E0EDJLJ C01vwtQU8Kqg9JK3sj536eJLJ7ESsBG+bbNnQNMDVshYf6gZPYPU82bQAMMVnRAT2GMG Xy7XxI+8CDgSIQeC0PakvNytUGldU+gxtoG2yq7I4q4pHtRw/WEGbwzcUNWi2ynbhxGt FB6A== X-Gm-Message-State: AC+VfDwOPP9qAZY6REntaS65HAVSd3V8uT+sFmMv+zdfOSLO4D2E5d0e lwuDdlQ4yrsA3yfx7g1NxbQJoCRa7Mp0CkoBYkc= X-Google-Smtp-Source: ACHHUZ4/6lAXYoOAC3i3UC4qvkjQL4JSbILffVWTuaaaxR5QKmSpXjXXenkZ1mnjKzI0RjeM+/cO4yirrF5L2KmCEGA= X-Received: by 2002:a17:907:2682:b0:973:946d:36b2 with SMTP id bn2-20020a170907268200b00973946d36b2mr2019554ejc.56.1685113110767; Fri, 26 May 2023 07:58:30 -0700 (PDT) MIME-Version: 1.0 References: <51071A92918346ABBC6B5703179F5174@H270> <896EB515110646CEBAA84E98E273E4B8@H270> <4BD5D8BA8E0F45098CC3E2B188A216E6@H270> In-Reply-To: From: Jonathan Wakely Date: Fri, 26 May 2023 15:58:19 +0100 Message-ID: Subject: Re: Will GCC eventually support SSE2 or SSE4.1? To: Stefan Kanthak Cc: Jakub Jelinek , gcc@gnu.org, Andrew Pinski Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=jwakely.gcc@gmail.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,FREEMAIL_FROM=0.001,RCVD_IN_DNSWL_NONE=-0.0001,SPF_HELO_NONE=0.001,SPF_PASS=-0.001,T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_PASS,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 26 May 2023 at 15:34, Stefan Kanthak wrote: > > "Jonathan Wakely" wrote: > > > On Fri, 26 May 2023 at 14:55, Stefan Kanthak wrote: > > [...] > > >> NOT obvious is but that -m -march= does not clear any > >> not supported in , i.e the last one does NOT win here. > > > > The last -march option selects the base set of instructions. The -mISA > > options modify that base. > > You but missed the point, AGAIN: the modifications per -mISA and -mno-ISA > persist, i.e. they are NOT reset by the last -march= option. Nobody said they are reset, and the docs don't say that, so assume they are not. The last -march option selects a base and the -mISA options modify the base. Note *the* base. The one that was selected. By the last -march option. The base. > Is this SOOOO hard to grok? I understand your question. It's based on failing to read or understand what has been said. There is a base ISA. Then there are additions or subtractions relative to that base. That's it. That actually tells you everything you need to know, if you just apply some thought. Choosing a base does not remove the effects of the additions or subtractions, because they are additions and subtractions relative to whichever base arch is in effect. Where the -misa options appear on the command line relative to -march doesn't matter, which is why it doesn't need to be stated explicitly. The order only matters for -march relative to other -march options, and -misa options relative to other -misa options. > Is this soooo hard to document? I prefer arguing with trolls, it's even easier.