From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by sourceware.org (Postfix) with ESMTPS id EF82F3857BA9 for ; Sun, 26 Jun 2022 19:00:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EF82F3857BA9 Received: by mail-lj1-x22b.google.com with SMTP id n15so8575612ljg.8 for ; Sun, 26 Jun 2022 12:00:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ykGdWso1fNNx7p1Wji11GpKqPHM77BcuFW1E20BKwRs=; b=U5iPdFNI13Al2StaDxCrFUfn806xY9oOpk/jW8zecactrpdiGrb3kP/T/02wdcJqr5 XU3kMZiMspe0nLPYMSiHxDcRC7o4bLcUq5pgYHYx/qZZV3gsoFEX+MN2cnJmK66ubGE0 gNTfJWUHnKru7MFcL93Ep2qJmiSlhWx3QDInLxn08gLae3NkuB/h1/DiTocO96mcsJIW Zgas4zX+LzWh6zOMTYxpqj0uAng476jeLsyZ61+WQ4vUlszetDz/Pv/NZU3HtB81TmLT g/Mua2vx0vhvLr6+2kpQ9fDWB1Y++usONWNNr0aK2y5+TTIOEEpOUhHV2idK4yr5DkEt Ekjw== X-Gm-Message-State: AJIora/iZy/yvSpmGK9U3d4J/1u8IWJ/9jDMT8KQR0zFwKMcVyLOOxsa 3d2KvlBqfV0seMO3mk7n0/RMhE9DQy0= X-Google-Smtp-Source: AGRyM1vP0gIso4QZ0V42ZNJZMZ7bhLEskt8TYmxQxYx+p7REMPEp5THN/lYjXTU9EeRCqu6Bp34reg== X-Received: by 2002:a05:651c:54a:b0:258:f97e:1bfd with SMTP id q10-20020a05651c054a00b00258f97e1bfdmr5111887ljp.199.1656270027250; Sun, 26 Jun 2022 12:00:27 -0700 (PDT) Received: from localhost.localdomain (broadband-188-32-220-156.ip.moscow.rt.ru. [188.32.220.156]) by smtp.gmail.com with ESMTPSA id g1-20020a0565123b8100b0047255d21179sm1453952lfv.168.2022.06.26.12.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 12:00:26 -0700 (PDT) Sender: Dmitry Selyutin From: Dmitry Selyutin To: binutils@sourceware.org Cc: Alan Modra , Luke Leighton , Jan Beulich , Nick Alcock , Richard Earnshaw , Andreas Schwab , Dmitry Selyutin Subject: [PATCH v5 0/7] ppc/svp64: support SVP64 and its first insns Date: Sun, 26 Jun 2022 21:59:58 +0300 Message-Id: <20220626190005.7727-1-ghostmansd@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623200838.1247734-1-ghostmansd@gmail.com> References: <20220623200838.1247734-1-ghostmansd@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 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, 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.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2022 19:00:30 -0000 These patches add support for LibreSOC machine and SVP64 extension flag for PowerPC architecture. SV (Simple-V) is a strict RISC-paradigm Scalable Vector Extension for the Power ISA. SVP64 is the 64-bit Prefixed instruction format implementing SV. Funded by NLnet through EU Grants No: 825310 and 825322, SV is in DRAFT form and is to be publicly submitted via the OpenPOWER Foundation ISA Working Group via the newly-created External RFC Process. Changes since v4: - Introduced svindex instruction along with SVI form. - Fixed svstep test so that ranges for operand 0 are correct. - Updated commit messages with the links to instructions. - Renamed SVRMf field to SVrm. Changes since v3: - Applied the correct version of patches. Changes since v2: - All patches now have the description including links to docs. - A new operand flag is introduced for ranges 1..n instead of 0..n-1. - All tests are rewritten for simplicity's sake. Changes since v1: - Aliased instruction fields now appear after the original ones. Dmitry Selyutin (7): ppc/svp64: support LibreSOC architecture ppc: introduce non-zero operand flag ppc/svp64: support setvl instructions ppc/svp64: support svstep instructions ppc/svp64: support svshape instruction ppc/svp64: support svremap instruction ppc/svp64: support svindex instruction gas/config/tc-ppc.c | 24 ++++++++-- gas/testsuite/gas/ppc/ppc.exp | 6 +++ gas/testsuite/gas/ppc/setvl.d | 15 ++++++ gas/testsuite/gas/ppc/setvl.s | 7 +++ gas/testsuite/gas/ppc/svindex.d | 16 +++++++ gas/testsuite/gas/ppc/svindex.s | 8 ++++ gas/testsuite/gas/ppc/svremap.d | 16 +++++++ gas/testsuite/gas/ppc/svremap.s | 8 ++++ gas/testsuite/gas/ppc/svshape.d | 13 +++++ gas/testsuite/gas/ppc/svshape.s | 5 ++ gas/testsuite/gas/ppc/svstep.d | 13 +++++ gas/testsuite/gas/ppc/svstep.s | 5 ++ include/opcode/ppc.h | 10 ++++ opcodes/ppc-dis.c | 8 ++++ opcodes/ppc-opc.c | 84 +++++++++++++++++++++++++++++++++ 15 files changed, 235 insertions(+), 3 deletions(-) create mode 100644 gas/testsuite/gas/ppc/setvl.d create mode 100644 gas/testsuite/gas/ppc/setvl.s create mode 100644 gas/testsuite/gas/ppc/svindex.d create mode 100644 gas/testsuite/gas/ppc/svindex.s create mode 100644 gas/testsuite/gas/ppc/svremap.d create mode 100644 gas/testsuite/gas/ppc/svremap.s create mode 100644 gas/testsuite/gas/ppc/svshape.d create mode 100644 gas/testsuite/gas/ppc/svshape.s create mode 100644 gas/testsuite/gas/ppc/svstep.d create mode 100644 gas/testsuite/gas/ppc/svstep.s -- 2.36.1