From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 6354E385AE5E for ; Mon, 25 Jul 2022 13:10:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6354E385AE5E Received: by mail-lf1-x131.google.com with SMTP id y11so17872192lfs.6 for ; Mon, 25 Jul 2022 06:10:51 -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=fiGzKosbwZP5w38+mSjxzy0hG8EM4mLOxhDhTmcuh3U=; b=kitNYhIVv6F/IvtMgJ7aUo4xorDAy+wQs47jtPFZwQUFPbONRtfGcqga2BN4AUm8H7 wR3OAw5YIXb/JBMDNsZGqu50cWeHnwN7yd8UfX3M9+ba0LtS41Nj1oSGiB9dpxU49w8k redZriNtKlnYGUhm84dvBxBt6qB9MFggjb7hJa/VJZSiQoYPUfXX3AuVJygQPbTws/Yt UGtzkUbj72dG4g+K2CQrQWJiJ0z19WiOAFAhmD4r789AmBt4qSJmpxwyMaokpPi6POa1 CNNBYKgdQyJWNeLgzP29dOIJz/t4wsC8b7W4FzoSOD1mriqAAXdepiM9hqKwSb9kg7ip Aibw== X-Gm-Message-State: AJIora/mMMkErUPC4GEsyv7BxIoZweSW2pPHhxuS1ZnRTaBQu0vXiUBp iIshSTPMRuC95vqfFGBxQeSHh+hLYck= X-Google-Smtp-Source: AGRyM1swIqguSsc6OLKus3y36mMIl3g/cCSi5j209RAYN75eFLNdKwU5dsbWGvF7eZt2S4HMqyg18Q== X-Received: by 2002:a05:6512:2017:b0:48a:811e:b3af with SMTP id a23-20020a056512201700b0048a811eb3afmr3843124lfb.9.1658754649253; Mon, 25 Jul 2022 06:10:49 -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 q10-20020a19f20a000000b00489dd78bdacsm2664565lfh.299.2022.07.25.06.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 06:10:48 -0700 (PDT) Sender: Dmitry Selyutin From: Dmitry Selyutin To: binutils@sourceware.org Cc: Alan Modra , Luke Kenneth Casson Leighton , Dmitry Selyutin Subject: [PATCH v6 0/7] ppc/svp64: support SVP64 and its first insns Date: Mon, 25 Jul 2022 16:10:13 +0300 Message-Id: <20220725131020.128550-1-ghostmansd@gmail.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220626190005.7727-1-ghostmansd@gmail.com> References: <20220626190005.7727-1-ghostmansd@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.1 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 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: Mon, 25 Jul 2022 13:10:53 -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 v5: - Introduced an SVG field, acting as TO field alias (SVI-FORM). 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 | 85 +++++++++++++++++++++++++++++++++ 15 files changed, 236 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.37.0