From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by sourceware.org (Postfix) with ESMTPS id 7B1273858022 for ; Thu, 6 Oct 2022 15:29:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7B1273858022 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-qk1-x734.google.com with SMTP id y1so1209399qky.12 for ; Thu, 06 Oct 2022 08:29:06 -0700 (PDT) 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=EMDP/ypgQe0MaGHrjcnVYl2ZbeIar2Gyo2C0OFZRgI4=; b=fBC7j5VJR2GypQC+6pBrPCLe3pjRxi8WMoCmgbqUaZxUpS9S6ImLf7m5ey+hm7zxr0 n/oqk3jhnq1KRm+xU7aMr0aEjSEhwJLqeKXM6sbfD00ASV3eShSccoP7ovy434Eq1kPh Cq9MFA2oXmBiWdayxbwucDbhuV5LP+ro8tF0+e66BDjM7bY029k1AJJ8wrY0xAcp7IaS EWQRhRip66oBNLcOdwqH9HhnhmJ9bJgfdExwamGgEpd0/vCLtUpvzjAH/d1/bj0HYd9D 3FZOipiXyMLJHIfvpV3iyJpVhVGRvVcdAnkspDW3JGKkLzmMdRg6CpefRTLu79wE+1Gv 55IQ== 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=EMDP/ypgQe0MaGHrjcnVYl2ZbeIar2Gyo2C0OFZRgI4=; b=kOQIS1JJ5B1puLHkWo1MjEzNFJ9q+w+xJf/OgO0J9mUaDGOOfNFltD3bPuWmiM19QA iWUr8D6Sl3H4hVPKW9HrsVomNPEd5ucPwimseMwdXWm47ZCcugl84LhspsroA7HmPDZG Kw4TLO8/8OfoBBvyM5e9yY0xRtXMt5Oo6r0AUu91dBSCvO5+31yhuY7fQx/dikUIXVS9 DRusqxnrqR1MhDpOz2rSMcaKfU3IQqcp/cq4VtuqkIkQ6jjRkNb3CQGgzWsdF8huiSWq c7qgMcsuAQXHa7XkXULSIiNxgBZP86HGyoY2PpxboeGqA74U35q/ObEzJyktfpFB3izt +aCA== X-Gm-Message-State: ACrzQf3vM5dVbDP384UvJJUrnRg4pkdf/AIHbxS/Y5uprenoaQv9fJda gNYC3xK3CuQmR99criqOCp9fDYPWWkkziaRs5DJagZ7Uw30= X-Google-Smtp-Source: AMsMyM6YezqThvW6Y2Fjafy3XiMq4v1Oq2eKdmG5QC5rrHp7aoz0AriCSE7k9kJUSFuXi0DDuun/SxWtx/knDjCLmmM= X-Received: by 2002:a05:620a:1032:b0:6e6:6962:5ee with SMTP id a18-20020a05620a103200b006e6696205eemr487129qkk.81.1665070145804; Thu, 06 Oct 2022 08:29:05 -0700 (PDT) MIME-Version: 1.0 References: <20e2773a-2e47-869b-1900-709f8ad4cd6b@suse.com> <9f97da22-8125-ed4e-6def-ef14ca170b51@suse.com> <2c52318b-c398-9f3a-ccbe-135caa6b3e2d@suse.com> In-Reply-To: <2c52318b-c398-9f3a-ccbe-135caa6b3e2d@suse.com> From: "H.J. Lu" Date: Thu, 6 Oct 2022 08:28:29 -0700 Message-ID: Subject: Re: [PATCH v3 3/7] x86: re-work insn/suffix recognition To: Jan Beulich Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3017.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: On Wed, Oct 5, 2022 at 11:58 PM Jan Beulich wrote: > > On 06.10.2022 08:15, Jan Beulich via Binutils wrote: > > On 06.10.2022 01:52, H.J. Lu wrote: > >> Does the new assembler work on Linux kernel which has "rep movsd"? > > > > No. And it shouldn't, as they should never have used MOVSD. The only valid > > mnemonic (in AT&T syntax) is MOVSL. If you're meaning to suggest that we > > continue to support MOVSD in AT&T mode, then this will - once again for > > consistency - need extending to _all_ other D-suffixable insns the SDM > > specifies. I can only repeat what I've said before: Consistency is a > > requirement such that users can predict assembler behavior. > > Note how Clang's integrated assembler doesn't even support CMPSD as a > string instruction - that's imo yet more odd behavior, and likely > attributed _solely_ to the goal of wanting to work around code wrongly > using such. I think we should avoid changing assembly sources if possible. Should we keep CMPSD/MOVSD without any operands? This won't cause any confusion. -- H.J.