From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 13EC8385B188 for ; Fri, 25 Nov 2022 09:30:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 13EC8385B188 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-ed1-x529.google.com with SMTP id x102so5668018ede.0 for ; Fri, 25 Nov 2022 01:30:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xFvCOk7QRaq1bUaqpwYU1iLvW6BpvLMMpjIEX/DKmfA=; b=RhmZZmk0vuoQ914lQWj/jw5bzBSEmNE5fw3vpe74XvyfqdwDJMQy1lBDPNzWB4kw3T PZFAYlN/Yvkmw43VAsyIP3LpOw57ZbLzDoQkt8MR8dB45lY+ppfQVw01U6oUsmO0vDR2 d9fydscrryvhgAYezb2ggue63nsbrMigTetvHtScyp2Jj0uuoGbP5q8QjhKevI1BB16x G57/2K84nwWwO6837zLQ4oxzbmdWKE5vRkJoOqU4UHajB3lfG80CmrBGUhGFYXyHSoZ0 6L6WCuI+tdUw2onr38E61g1LOIyy/2G+HWsDcx6OFt+a/2kp/kMqjtHg18Sd3HfneB8i E5Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=xFvCOk7QRaq1bUaqpwYU1iLvW6BpvLMMpjIEX/DKmfA=; b=ZI6O3F+AF06SjZR4X6Ttgqr2SHFqPie6HpsfiNlK5Ss+5qhVR6n04eQpBo/wVdrNpd 6rsVOmx3R+hQ2QBT4ZYGo3FrePYpH18O7Wtp6XVBpHPwAI5vQtloVjkx+retq6sPqxB0 bCuFMdZ9xA/qBzWHcf9N9jFilN1E4VzKdlxubObvUFbUMn/TUkcSmHwMXfixBpR2ZkoA kRN/rH+cxiAfWajV1f70Y77XO+Rl837mUPsgXi0Rl8y6G06V2z0lR4WvmhwITo/OV/kp yHFf2PUE5OhQfQvBTZc66rL1G6boJUDQoIgL7ek+YLr0B7FZuPCRpwnpFmQZcASh/JXO XjtA== X-Gm-Message-State: ANoB5pnzpYYHmC+od8Vcbgo2Xqxy0tHR8Mjgx8Yqyznk/dArOKBoLsWw y0na8MF1FxbMsPh7tSfeeLgeouYITKQ2R3htw5A= X-Google-Smtp-Source: AA0mqf6P8qN6F7wVpxqlmAFtnMKPkYmVqVSEU6zzOq+X73QHMTH6lCQEf+kH+ct2SBaNYAc3japrGJvQ6Fcn8h38Qbc= X-Received: by 2002:a05:6402:24a1:b0:463:e963:5149 with SMTP id q33-20020a05640224a100b00463e9635149mr33895819eda.219.1669368650726; Fri, 25 Nov 2022 01:30:50 -0800 (PST) MIME-Version: 1.0 References: <4b31677c-255c-2796-67c4-2d67f0c9fa60@126.com> <9aed7b66-d1fb-846d-9752-b450fbf2ae5e@inria.fr> <5c25f39d-1f28-3ac9-cb2e-adde5034ed6e@126.com> In-Reply-To: <5c25f39d-1f28-3ac9-cb2e-adde5034ed6e@126.com> From: Jonathan Wakely Date: Fri, 25 Nov 2022 09:30:39 +0000 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" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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:16, LIU Hao via Gcc wrote: > > =E5=9C=A8 2022/11/25 16:50, Marc Glisse =E5=86=99=E9=81=93: > > On Fri, 25 Nov 2022, LIU Hao via Gcc wrote: > > > >> I am a Windows developer and I have been writing x86 and amd64 assembl= y for more than ten years. > >> One annoying thing about GCC is that, for x86 if I need to write I pie= ce of inline assembly then I > >> have to do it twice: one in AT&T syntax and one in Intel syntax. > > > > The doc for -masm=3Ddialect says: > > > > Darwin does not support =E2=80=98intel=E2=80=99. > > > > Assuming that's still true, and even with Mac Intel going away, it does= n't help. > > > > Did you mean 'Darwin' instead of 'macOS'? Darwin is the name used in the GNU target triplet. It's an older name than macOS, which was previously called OS X. > The first-class C and C++ compiler for macOS is Clang anyway; even the th= ing named 'gcc' is > effectively Clang. And? GCC still works there. As a Windows developer I'm surprised to hear you suggesting that only the default system compiler matters. Should GCC stop supporting Windows?