From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by sourceware.org (Postfix) with ESMTPS id 05302392AC02 for ; Fri, 25 Nov 2022 07:37:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 05302392AC02 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-x82a.google.com with SMTP id cg5so2100982qtb.12 for ; Thu, 24 Nov 2022 23:37:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2GdPVCrrJ9otsDA7tZy0mosuLx9IrGfhFv/aYe+lG8o=; b=AnLTdKd2/eAKhDLZxkpOS4Q5Q4KpPFyeuTJaNVX7S1gXilirqu4Yc15ffEqAHJBVPb ND0Qh/qCJddEG/kqsHC0yZEIMdBVZN28tYQkspLEz7i3BvQFmwS4msXsBmHWboj6XDVF BAHiC0JTLum43AxCgM639ryqteEJ6XSK+KyznJg/5Xf0Kqstrok9vtOMGYmeUNmXajFZ yc7FUd93Svj9/4AD0/zvGWg/DXBC5nouvUU//8F3xJ1jeYti63Gu5zIrkfcaYtJrnBGk GdcoS0F9YlkK7cCRCC9WqLgWbDA+2nTrqLVEw48hFCwOMUvmRUOcxhSlPvncA1dSOVln lQWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=2GdPVCrrJ9otsDA7tZy0mosuLx9IrGfhFv/aYe+lG8o=; b=nLXYAL111ojWtqjX8OP+QfT3P5tYubjAAczytEqC3xbB4iOVC9D9fxuMve1Up/Xu5Z M/I9B2DRCfBwE8soNqtQ9BfQ1ka44E2Rq1RMH8D44cCTuMrYQhS9PEhx9cMhg5/gNpUk kh4/IEZWCyvTd9s9m39641p9OaklKZb+TINK6eHcMqNg3B3HoWld/hDSBtEFJqOdxENE uP6KcqmsmdZCQh05dpUZulUlQJ8PE/koB3oBLH4cvBmsY4RiPXQ+bHBG9EEAYxUQhVqT AGami2Dvg047041J8n7KAMSPH7pLlhWvnHg/fRxk3RXq0nV/TvjFDIGo9qpdr2PpikAd Fkow== X-Gm-Message-State: ANoB5pnu5I0t+zQn6L9WBFZtbyIsrjZQhknKq3oLHmscl9uex/XsZfee v97zjbo4pVxH+Wu8S83/gNrci/a/4TxMxqU6USY= X-Google-Smtp-Source: AA0mqf6OTvKr5+1+wB84q6oBbUzjkk3a7dp8wZlV0/ejg7LfqRfH9Caf3i6NRpADKS4LHZDkcJwR5x3Lj+H1X3AjbW0= X-Received: by 2002:ac8:6051:0:b0:3a5:62ca:14e3 with SMTP id k17-20020ac86051000000b003a562ca14e3mr19015410qtm.144.1669361858346; Thu, 24 Nov 2022 23:37:38 -0800 (PST) MIME-Version: 1.0 References: <4b31677c-255c-2796-67c4-2d67f0c9fa60@126.com> In-Reply-To: <4b31677c-255c-2796-67c4-2d67f0c9fa60@126.com> From: Hi-Angel Date: Fri, 25 Nov 2022 10:37:55 +0300 Message-ID: Subject: Re: Please, really, make `-masm=intel` the default for x86 To: LIU Hao Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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, 25 Nov 2022 at 09:40, LIU Hao via Gcc wrote: > One annoying thing about GCC is that, for x86 if I need to write I piece of inline assembly then I > have to do it twice: one in AT&T syntax and one in Intel syntax. Why? A default is merely a default. I don't really see why changing that should help you specifically. A decision "which assembly syntax to use" is one that makes a project like ones you're contributing to, not GCC. If they decided to use AT&T syntax, they won't switch to Intel just because a compiler toolchain has changed their default. If you care specifically about the projects you are contributing to, then those are the ones whom you need to convince to switch to "intel" assembly syntax, not the GCC developers. Because as I said, changing a default in GCC will hardly make any change to those other projects.