From patchwork Fri Jan 19 14:43:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 189579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp1053387dyb; Fri, 19 Jan 2024 06:44:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPQVDW+VeEh7Sk1mbcBOjVAmLkRpfSev0JuOx4s18ryr8pC3pKNIjV7hLhkcYCnzU+s4UG X-Received: by 2002:a05:620a:808d:b0:783:8620:c54a with SMTP id ef13-20020a05620a808d00b007838620c54amr1497589qkb.105.1705675452588; Fri, 19 Jan 2024 06:44:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705675452; cv=pass; d=google.com; s=arc-20160816; b=rKdBKJpd2A5yEmZBd322J6NJ6ygkiFr4s9I0Uqg2BfVsaSW0sOeqHhzR2wMi9L/ekH eFiLz1KkkKXtnm/Jc5MutyKt3v+Cz7mXtedbL8/daTfiF/+bqLdHZFwB5cFEDjPLo4T2 IGhobubbpu2RjTS9jkcdhtAvjkIyvmNXhMxKj/RxShthKAOr3OfUzIpoCGnHo0F6gCRC dj43UANeYebHLjD4/FyAza1PfldaM2xlul+E3K1HDrhQmKOE4ilX5KOZRaZrdDTwH/tp tQoZRhb2A3rH7a+3cUshSy9gxBJ01Fd252SsuAA7lz5URi5hzhQJsy8s2lggr3uAjtQP e7ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=Ccbdtb0ESEnyLT0fHs4bDYAa8+CfL8890GoGsrV81n4=; fh=VtCbG968CIVKcz2SonYwQW4nR/JKh8AAxTaZEI90pmI=; b=rf6Ai8ChtoWPYmFhC8Vx0SL41UDBn7A5C5Vb92TsdtfpOqWwl6lHyQb7QLDr5ymkPd dGKcKUwhRHG9c1BCvq+4AwCyYw0F08XGrx42OnX6DHr2bk5U/81kyZcwl6xnKnJjAHAs hr2uRlVYj/DaZA2uxfpqcfgYV7AjN7y53ARqukZK8/9URpC26lPCbvSGsHPqV6NXApCr LX+/9Rtk0BeHM3azuHDIyl4j7SDvw3PDnkhgcACclEeGPNOylK2fFW8e7BDuSrTYMdD/ 1ZGvLP28HaI8ZkB898tr/JlxHzXuRNYX2S8C8BHHHttn4ou+j5GO+qYUcxyZ0rfN/tLm dROQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UmIS38o9; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id s29-20020a05620a081d00b007815fc2a677si16057994qks.699.2024.01.19.06.44.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 06:44:12 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UmIS38o9; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 478663857C79 for ; Fri, 19 Jan 2024 14:44:12 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id C019E3858C74 for ; Fri, 19 Jan 2024 14:44:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C019E3858C74 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 C019E3858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::134 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705675443; cv=none; b=cDwG/+cF4qvF75KnEUIwXUAg5ns+lpDR/t2E5BBnDB4CAzu1Tev9RRydTKBtgRy7rBiILBy+uOgMnfSI0HkhbuO9M41RnWEujD5EK1gk4FUFxiSDk1daTko2TBbKuU0XK5mXmil1o7nD7Nnw28o0pmqsgS3PKZAt4AwwebNPCwU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705675443; c=relaxed/simple; bh=OPL5ZWtf5J7cF96FFzS+TdA44e+6xkWBk+9waAyPwGc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=hGAOnykhC7Vt/CkVhuJ8Qc3/XDIPbA2KGsSGzQJSfLGYzqJY8b5PIU9YGkb4v6BuKHSIEs/Rx8xBNHpfoe4p98p57kJWA1jJrscrr9qT3wpxQwJtMytrmuqimgyFAK2+t7OwpSzlp/ZwHOX+CvrBSvpdqTjbfnsOxREdXnZ68WE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-3606ad581a5so3856465ab.1 for ; Fri, 19 Jan 2024 06:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705675441; x=1706280241; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ccbdtb0ESEnyLT0fHs4bDYAa8+CfL8890GoGsrV81n4=; b=UmIS38o9WHJToKAQXWHihvg3xsKIxvtJJSNaORtTPXZsGbQmKdckvcwUxweZ8XZS0h gAHprtk5LYaQfx9dJ1rP57QoRCuR/FsjUHHsLuhKWAFbinFCjosbyneyyoLpPY7S/QUw BtW9d8X/rGc84JxQSgoRf8pg0anBuohuh1cSFgNO3DMx/vnD1Gbv8fxYj6ef65MV00oC ysm7a2sPwXYtxy5O4+z+6hemX0PNvAR1jN8tFre+UK/3sRW4tkb3aQqGGc5/7KfgifGw p9BcvMywwLI1rokAeHNpqoChnk2C4ySaKUVHAIrwgF9cX0UJyhIjlEfGEulGNN6Fg+oq wjUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705675441; x=1706280241; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ccbdtb0ESEnyLT0fHs4bDYAa8+CfL8890GoGsrV81n4=; b=QVCQn6ibrniMG1w0AkdGa8slPE6Iq4g6NDaJ3v7XfrsmerShAT0uT/IxiBBWMXQv1A CkjrP6mAQiTtfXG5LuQmP9oxcqPjtmCG6gdpws8sCsXxqRjvSsujV29JTMXMi5RRNSFm FJ+du9Mq42udmn0CatAEjWaPQZK7ckgS6AZuYxIRKxldZje94F29baUFDEECyUqGsoGa ujhjKUjfaWFL0rtP5kBTBlRy/GK5p7C/zuHILQw2Vz3eTpKSJU7BELz5q8eYUyy7Zifq Wad+G0k9lEzhu/p8UbITnUF58RspMHpNqPaxOmRXv0IJw3NUwfnfYwdOSFl1G+fVIZNm 0xSQ== X-Gm-Message-State: AOJu0YxvOe7eQLXig0qA9imUwuEg0ppiMfx1L9Jjze3pUmsmKOJemxz5 BYP4zMeUIw9TwKiZkMKFfO/bMytMdRurLRTTTIBQVPK3/W6WKdHH X-Received: by 2002:a92:904:0:b0:360:7395:7835 with SMTP id y4-20020a920904000000b0036073957835mr2652632ilg.27.1705675440972; Fri, 19 Jan 2024 06:44:00 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.168.9]) by smtp.gmail.com with ESMTPSA id a191-20020a6390c8000000b005c66e25497dsm3399394pge.83.2024.01.19.06.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 06:44:00 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 7E20D7401F9; Fri, 19 Jan 2024 06:43:59 -0800 (PST) From: "H.J. Lu" To: binutils@sourceware.org Cc: jbeulich@suse.com, nickc@redhat.com Subject: [PATCH] Update x86/APX: VROUND{P,S}{S,D} can generally be encoded Date: Fri, 19 Jan 2024 06:43:59 -0800 Message-ID: <20240119144359.390520-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3024.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788530343235416988 X-GMAIL-MSGID: 1788530343235416988 Append "#pass" to APX tests for targets which pad text sections with NOPs. * testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Append "#pass". * testsuite/gas/i386/x86-64-apx-evex-promoted.d: Likewise. --- gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d | 1 + gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d | 1 + 2 files changed, 2 insertions(+) diff --git a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d index 354c85c01fa..3ccd1f6d556 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d +++ b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d @@ -320,3 +320,4 @@ Disassembly of section \.text: [ ]*[a-f0-9]+:[ ]*62 4c fc 08 66 bc 87 23 01 00 00[ ]+wrssq[ ]+\[r31\+rax\*4\+0x123\],r31 [ ]*[a-f0-9]+:[ ]*62 4c 7d 08 65 8c 87 23 01 00 00[ ]+wrussd[ ]+\[r31\+rax\*4\+0x123\],r25d [ ]*[a-f0-9]+:[ ]*62 4c fd 08 65 bc 87 23 01 00 00[ ]+wrussq[ ]+\[r31\+rax\*4\+0x123\],r31 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d index a86fa60dc6b..fc2107b022b 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d +++ b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d @@ -320,3 +320,4 @@ Disassembly of section \.text: [ ]*[a-f0-9]+:[ ]*62 4c fc 08 66 bc 87 23 01 00 00[ ]+wrssq[ ]+%r31,0x123\(%r31,%rax,4\) [ ]*[a-f0-9]+:[ ]*62 4c 7d 08 65 8c 87 23 01 00 00[ ]+wrussd[ ]+%r25d,0x123\(%r31,%rax,4\) [ ]*[a-f0-9]+:[ ]*62 4c fd 08 65 bc 87 23 01 00 00[ ]+wrussq[ ]+%r31,0x123\(%r31,%rax,4\) +#pass