From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) by sourceware.org (Postfix) with ESMTPS id CC49D385841E for ; Mon, 22 Apr 2024 07:47:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CC49D385841E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CC49D385841E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::934 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713772077; cv=none; b=x7GgYtJnPGe/E3qQGKQqrcJMdD3+/IexEvwwT5WzjTBDzrOZfno+0s1EOqRFRODHAwvozK1AgPUtSz4X6OmT4qmXVtH8v7RzbJITAb6t/3BcWmYnxe7hDuE6AW/ut3bN884vPjy4Ivfb4TvnV47ONy61sRGk1eiAcogdChL6hp0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713772077; c=relaxed/simple; bh=w9VJptPLv6YKPjL3wryktB5QtcBEQrZhP+2JwW1Iq/U=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=BscnD1ziRH4A+kbp5sBh8gmEUrW67s8P9Z6LlqoWza4Wt4/pr2/gRHeTfo+iP3lZjGkjerua3zv0wD8dV+K7w6LuoPhNxoz+pYM7twd46705itz0QHiPj0zmTVMYDWNFRl8O5T1hqi7PpNZBwH6ohqfenouTlVI7hblbXwQBSPk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ua1-x934.google.com with SMTP id a1e0cc1a2514c-7e66423aa72so1104095241.3 for ; Mon, 22 Apr 2024 00:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713772075; x=1714376875; darn=sourceware.org; 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=0i72IY56mD64Nz+2P8W2L+zoKvmQ+8uFq8I43Al9yZM=; b=HgUP70u50yPWd5Cmk2qoekZAJw5+ngRGOwqq6lwOLWmajeI7/joaGumQ7JT9sy4Rw3 4tWvIWdVGxTLt7Dhqn0wVHW55Zvf1AsNb18UmEE0aBG7vlLTkb+d/F/2iR7UFQ7/Kg0V uVREwKAB4pDBLbOndSjacLm79VuQiQPZPRH5FIKrEESQUTaibbhmn++pi78WU3MoN4Qy uAQF4Yc+l9DRWVgsBEAv3ZgM4i0y0EX3o9g3I50eVXertMlCftALwJ7HN1DIP8r1rN2r WoUO0Wds+mva8IbdlJ3WAMIFxGNGYyvjts8lWjePgfMEKjQgSN+mpeis7AmHbbEyvUcV iYVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713772075; x=1714376875; 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=0i72IY56mD64Nz+2P8W2L+zoKvmQ+8uFq8I43Al9yZM=; b=JcW3v2Qq/mnRmZmrxkd+5Q97fCHoMw5hrN9zhXzn5+AYzU0DZGfLgbtGY0r3Eh5ivy gsS/f1WGE65uHW2IDHcBAqkNm/zH28m3Gk/4oXKdcmhU75O4+t00hhmiF8bq16Xr1CoU yQTRJf0z6oPDtwI6S412R5bAU2ZocVpu+IsRn4zoX6ufxAZhEvvy8txoT2DK65bzDyBu Wi62cb18P78qqGUZBKg7dYNUHwBW9bq84XNPQ5n+vgeouzAIS0M0RwdbICDBsjYiMAvI OlpENAdYPCQsjiDmA7jlRYjozCm/iyO+veErqYzVlUqDgBAf8MAY2uvJXl8WfsUFngDj 7ABQ== X-Forwarded-Encrypted: i=1; AJvYcCXYL53YwVNS2cTvxzAv8NnO5aWEJboguxbJZgHe3FCDwe13HzUo2CD43xcSgp0fOw5DUNzlNqMUsBzNbZ6R8v1zinPPZFTtSg== X-Gm-Message-State: AOJu0YyXgnYSrtTXNk+93uYTUoyc5ndNX3+LhoP9m00D33HE/JTslkZW MqzJUNtvUYR1JISf3noKdRWWDq8fM1uYbyWpKTN4yniV4AKhl2eIZ1Rc7tJcVMxM+84o0ClPjih AEeaqtXPp1bjiXulBOKETvlhoPJaxyyB2jSg= X-Google-Smtp-Source: AGHT+IGNNVzfVukjPabj0Y4xN8d8wWwfXz6vDBl1L/MQw4hCfl7VNBP8KcIJX6pjX1j9CAlP1hyR27+I5PN+trea5kw= X-Received: by 2002:a05:6102:2335:b0:47b:ce9f:93f3 with SMTP id b21-20020a056102233500b0047bce9f93f3mr5338804vsa.20.1713772075002; Mon, 22 Apr 2024 00:47:55 -0700 (PDT) MIME-Version: 1.0 References: <117c9c1f-795e-41f9-b582-b8477b42bebd@suse.com> <563b29cc-d3b5-45b7-b354-1ca8f3a2dcf4@suse.com> In-Reply-To: From: Hongtao Liu Date: Mon, 22 Apr 2024 15:47:44 +0800 Message-ID: Subject: Re: [PATCH] x86/Intel: SHLD/SHRD have dual meaning To: "Cui, Lili" Cc: "Beulich, Jan" , Binutils , "H.J. Lu" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.0 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 Mon, Apr 22, 2024 at 3:44=E2=80=AFPM Cui, Lili wrot= e: > > > On 22.04.2024 06:09, Hongtao Liu wrote: > > > On Fri, Apr 19, 2024 at 5:29=E2=80=AFPM Jan Beulich wrote: > > >> > > >> Since we uniformly permit D suffixes in Intel mode whenever in AT&T > > >> mode an L suffix may be used, we need to be consistent with this. > > > I think we need to forbid the D suffix for APX NDD SHL/SHR under Inte= l > > > mode to avoid ambiguity. > > > > Hmm. Special casing just two insns is out of question imo (in fact that= 's what > > is - unintentionally - partly happening prior to the change here). > > I know the suffix L is needed in AT&T mode to specify the operand size to avoid ambiguity. But why do we need the suffix D for Intel mode? --=20 BR, Hongtao