From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by sourceware.org (Postfix) with ESMTPS id 4619C3858D35 for ; Tue, 1 Feb 2022 02:21:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4619C3858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-oi1-x236.google.com with SMTP id y23so30474646oia.13 for ; Mon, 31 Jan 2022 18:21:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xILiYlIzgNKyNc3qBjVCWu6sd22kO/okt4LafE2etv4=; b=aIr3IJnZ3IpfgWDL18vGg8Tq7T0yKb6j9jq0eRKPvUphWUHkuraOPTYhDIAcnApije xiP7tt4cSX8oV9zWWqwg4p6jm4CGcB1/DnQCbLySVJl5KVu+KVfQnp6zCXb6UIDVM8wP DWv/q8ichYTakQil9PbKnlupqpMkDkIECI8ZPMqK2b5tmq/Xl0OLiavHo4Wag4lNloM+ ElDK2oahH3zyW1pq+MTDtyi3bxQhhc3j96/bRubHw/1O9o2PMtJUkJhO6UKfWwJ2KwV7 Abr7fyqzDl9yeKgchesoXvbvPSlTtfI9/ag2AxJ7ylSL8/rlp3LWxZAC4Fb0I5wIc2cj Hcjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xILiYlIzgNKyNc3qBjVCWu6sd22kO/okt4LafE2etv4=; b=aQvVB0xAhQqzywXMCcaa9k3YxDE2hHxkB/vOV/YmREjq5CXKv0g/5ItkQYjf5P3Jfi AKFtT+oBH12Bgd3IduCMNAGEx6ydXWTHgmlDxan8Uy/sh3TLpgObj2Zdff2+nmPsGf6H 8YnPo2uD0UgSXjryNTEbFCLQ+KncwT85Yils47+I+OieU5YVbAnu0Ym8si1OALMZ7nOS ZpUUpLUnElaBPz+5abuVB4xxA4m8r6vrAok0JnmTzQ5ioNsXMBsYI+rutCggyYD21qbA N7zxz2tr3SzEAT64a7ExNkfVb8+k3Iz9y258+EegTVV6xv0BQmkGenzuI4sCdOsUSPYk nn7g== X-Gm-Message-State: AOAM530/Xzj8jn7Yw+v9kWNshjGFEb2a1xiFDx3IckPR6V9dGmsjY1Y8 V5oJeorEZZhWSjVu3LtFkmGy3qIfH6bm1w== X-Google-Smtp-Source: ABdhPJwweJoE3fNfkSiUOB4LlrdU2nXa2P7PugsVyq6X6StngmYqKEhqATIZdBZmRs9aJl52BOxWrw== X-Received: by 2002:a05:6808:1688:: with SMTP id bb8mr15013796oib.163.1643682061538; Mon, 31 Jan 2022 18:21:01 -0800 (PST) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com. [209.85.167.174]) by smtp.gmail.com with ESMTPSA id g10sm13928837otn.65.2022.01.31.18.21.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jan 2022 18:21:01 -0800 (PST) Received: by mail-oi1-f174.google.com with SMTP id x193so30684028oix.0 for ; Mon, 31 Jan 2022 18:21:01 -0800 (PST) X-Received: by 2002:a05:6808:19a8:: with SMTP id bj40mr16034767oib.8.1643682060908; Mon, 31 Jan 2022 18:21:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Waterman Date: Mon, 31 Jan 2022 18:20:49 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] RISC-V: Update Zihintpause extension version To: Palmer Dabbelt Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2022 02:21:06 -0000 On Mon, Jan 31, 2022 at 8:45 AM Palmer Dabbelt wrote: > > On Sun, 30 Jan 2022 03:37:41 PST (-0800), binutils@sourceware.org wrote: > > Because ratified Zihintpause extension has a version number of 2.0 > > (not 1.0), we should update the number. > > The ISA manual also says it's ratified so having it in the draft set is > kind of odd, but I'm not sure which spec version it should be included > in. The commits saying it was ratified are in August 2021, but I can't > find a spec version that's listed as ratified and contains the new 2.0 > (there was also an earlier 2.0, from before the 1.0). > > Not sure if this matters, though. Looks like the only non-commentary > differents are: from the original 2.0 to 1.0, the text "No architectural > state is changed." was added; and from 1.0 to 2.0 the text "{\em fm}=0, > {\em rd}={\tt x0}, and {\em rs1}={\tt x0}" was added (to the encoding > section). The second one isn't substantive, and while the first one > reads like a change to me IIRC we've been through that before and I just > have the definition of architectural state change wrong. The first one isn't substantive, either, because of the definition of HINT. It's just a clarification. > > > > > bfd/ChangeLog: > > > > * elfxx-riscv.c (riscv_supported_std_z_ext): Update version > > number of Zihintpause extension. > > --- > > bfd/elfxx-riscv.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c > > index 9f52bb545ac..29755a6cb0a 100644 > > --- a/bfd/elfxx-riscv.c > > +++ b/bfd/elfxx-riscv.c > > @@ -1183,7 +1183,7 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] = > > {"zicsr", ISA_SPEC_CLASS_20190608, 2, 0, 0 }, > > {"zifencei", ISA_SPEC_CLASS_20191213, 2, 0, 0 }, > > {"zifencei", ISA_SPEC_CLASS_20190608, 2, 0, 0 }, > > - {"zihintpause", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, > > + {"zihintpause", ISA_SPEC_CLASS_DRAFT, 2, 0, 0 }, > > {"zfinx", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, > > {"zdinx", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, > > {"zqinx", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, > > > > base-commit: 35b5767cf47169d11aa059fce0ed5b0fc213045d