From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id EA37E382F940 for ; Fri, 30 Jun 2023 22:01:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA37E382F940 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3110ab7110aso2685636f8f.3 for ; Fri, 30 Jun 2023 15:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1688162517; x=1690754517; 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=vaKeFpA8T7YjeHy+kUPPUV665QhEqtRctKU+POu+9g0=; b=UZGIScVYZDCp3Ltyag7w7BaJEad7PYp6uHs0r3lySdeK5lbAUt86wXYR4IvwO3G4UV jCcuuBocFtBxrpbUIR4S28jdd9/GJ77kavkwuFOIlFA5OJFDrVLcOOGyI7ASJgjQJn07 bij5ehUnaVo7zR+rrY9tH3w4sELdIqoa7bM+EgLcyhbaNOQv2bIEsKxT4aBIi2k6u4jj gghOq0hn+KiS/BlPmJoQIUhq2jp8R/+rGO5eKX00sl5y2SnqoEuWpiKL/Ws5ZpegNsVy jPXdTnMoAc4oOyJDs8YwxsYiO+oUZ5rUt3Ut/jgbE/8hGrYgN6HoQbDDbjCjCw85cXGu UNIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688162517; x=1690754517; 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=vaKeFpA8T7YjeHy+kUPPUV665QhEqtRctKU+POu+9g0=; b=BNWvkW0tBUUFPjskPbmGraZzmGriCOmQhVYF0DQ21j0cdXNGLFMYlCzfHwa4W328yk yzuk1tf4VHQ24WhFCNRG39xacwZRYEWgrnFJBObzptqQjbOI5p7D6Kcnpuy/lrOaaose PJWTu+25OUjB2+hyrWF6zOhfrcWXjxtSWFaSU7rfPLk/0Lcl9x1Ao3aJU34V5keN8GIj HYqp/mhaRA+Q/52RXTD1khrnYCBu1G2Cvqf7i/yXwXCGPklVvjVnUBSx2fgXhvy+0tgC lQVHgOXUsIYrquBncja0FKsc5Rr4pDnRjpxuOrIsLHgLLxK1CulkvnQC6U//O4pEqQx6 LC1A== X-Gm-Message-State: ABy/qLZlukwJix25etFP0kcJTbCSbVopLtf5XShAOA+pZShY672rXsRo QTQy5LfpqfWu8ynCPYXUS2k+EAYUHMY7Dk0cDpqJtw== X-Google-Smtp-Source: APBJJlF1/33Wv6tDOqjQKixJpT9JNBQsSv2m/Moj5trSovaSLrv5eL/0SBrZAqv32/1Nx0LqnUOWgF0JvJOWOxiD300= X-Received: by 2002:adf:e5d1:0:b0:314:ac:6426 with SMTP id a17-20020adfe5d1000000b0031400ac6426mr3416337wrn.19.1688162517652; Fri, 30 Jun 2023 15:01:57 -0700 (PDT) MIME-Version: 1.0 References: <20230629171839.573187-1-nhuck@google.com> <20230629171839.573187-2-nhuck@google.com> <66c6fcc9-95f0-fce4-75c9-68d746aede50@gmail.com> <7dddc670-0eb4-7a20-5c80-eefc3741ea45@gmail.com> In-Reply-To: <7dddc670-0eb4-7a20-5c80-eefc3741ea45@gmail.com> From: =?UTF-8?Q?Christoph_M=C3=BCllner?= Date: Sat, 1 Jul 2023 00:01:43 +0200 Message-ID: Subject: Re: [PATCH 01/14] Add support for the Zvbb ISA extension. To: Jeff Law Cc: Nathan Huckleberry , binutils@sourceware.org, nhuck@pmull.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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, Jun 30, 2023 at 10:57=E2=80=AFPM Jeff Law w= rote: > > > > On 6/30/23 14:29, Christoph M=C3=BCllner wrote: > > On Fri, Jun 30, 2023 at 7:51=E2=80=AFPM Jeff Law wrote: > >> > >> > >> > >> On 6/29/23 11:18, Nathan Huckleberry via Binutils wrote: > >>> From: Christoph M=C3=BCllner > >>> > >>> Zvbb is part of the vector crypto extensions. > >>> > >>> This extension adds the following instructions: > >>> - vandn.[vv,vx] > >>> - vbrev.v > >>> - vbrev8.v > >>> - vrev8.v > >>> - vclz.v > >>> - vctz.v > >>> - vcpop.v > >>> - vrol.[vv,vx] > >>> - vror.[vv,vx,vi] > >>> - vwsll.[vv,vx,vi] > >>> > >>> Signed-off-by: Christoph M=C3=BCllner > >>> [Updated to newest version of RISC-V spec] > >>> Signed-off-by: Nathan Huckleberry > >>> --- > >>> bfd/elfxx-riscv.c | 5 ++++ > >>> gas/config/tc-riscv.c | 13 +++++++++ > >>> gas/testsuite/gas/riscv/zvbb.d | 43 +++++++++++++++++++++++++++++ > >>> gas/testsuite/gas/riscv/zvbb.s | 34 +++++++++++++++++++++++ > >>> include/opcode/riscv-opc.h | 50 ++++++++++++++++++++++++++++++= ++++ > >>> include/opcode/riscv.h | 5 ++++ > >>> opcodes/riscv-dis.c | 4 +++ > >>> opcodes/riscv-opc.c | 18 ++++++++++++ > >>> 8 files changed, 172 insertions(+) > >>> create mode 100644 gas/testsuite/gas/riscv/zvbb.d > >>> create mode 100644 gas/testsuite/gas/riscv/zvbb.s > >> This needs appropriate ChangeLog entries as well as an update to the > >> binutils/NEWS file. With those missing pieces this will be OK for the > >> trunk. > > > > I will provide that: > > * Adding ChangLog entries to the commit messages > > * Adding a commit that updates binutils/NEWS > > > > I will send a new version on the list within the next hour. > Sounds good. Feel free to push them yourself. Or if you don't have > time, I'll get to them at some point before Nick branches on Sunday :-) I have sent out v5, but I need someone else to push as I don't have write access. For convenience the changes can be found here as well: https://github.com/cmuellner/binutils-gdb/tree/riscv-zvk-v5 Thanks, Christoph