From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11F76EB64DC for ; Tue, 11 Jul 2023 19:21:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230001AbjGKTV5 convert rfc822-to-8bit (ORCPT ); Tue, 11 Jul 2023 15:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjGKTVz (ORCPT ); Tue, 11 Jul 2023 15:21:55 -0400 X-Greylist: delayed 4613 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 11 Jul 2023 12:21:53 PDT Received: from 5.mo581.mail-out.ovh.net (5.mo581.mail-out.ovh.net [178.32.120.239]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9674A11B for ; Tue, 11 Jul 2023 12:21:53 -0700 (PDT) Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.16.31]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id EC8AA278B1 for ; Tue, 11 Jul 2023 18:04:58 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-s87lf (unknown [10.110.115.217]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 971BA1FE3E; Tue, 11 Jul 2023 18:04:58 +0000 (UTC) Received: from courmont.net ([37.59.142.102]) by ghost-submission-6684bf9d7b-s87lf with ESMTPSA id TjgcBcqZrWQtiQEAqDmyAA (envelope-from ); Tue, 11 Jul 2023 18:04:58 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R004a6e4188e-14a7-4010-a06c-008f3ac247c2, BD5993DD31A8D185A8BDB9FDB50A3FED214DC06B) smtp.auth=postmaster@courmont.net X-OVh-ClientIp: 87.92.194.88 From: =?ISO-8859-1?Q?R=E9mi?= Denis-Courmont To: linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 05/12] RISC-V: crypto: update perl include with helpers for vector (crypto) instructions Date: Tue, 11 Jul 2023 21:04:57 +0300 Message-ID: <10238181.0Rfz7avHUX@basile.remlab.net> Organization: Remlab In-Reply-To: <20230711153743.1970625-6-heiko@sntech.de> References: <20230711153743.1970625-1-heiko@sntech.de> <20230711153743.1970625-6-heiko@sntech.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" X-Ovh-Tracer-Id: 11081669834400668123 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrfedtgdduvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkfhojghfggfgtgesthhqredttddtjeenucfhrhhomheptformhhiucffvghnihhsqdevohhurhhmohhnthcuoehrvghmihesrhgvmhhlrggsrdhnvghtqeenucggtffrrghtthgvrhhnpeeuhfegfeefvdefueetleefffduuedvjeefheduueekieeltdetueetueeugfevffenucffohhmrghinheprhgvmhhlrggsrdhnvghtnecukfhppeduvdejrddtrddtrddupdekjedrledvrdduleegrdekkedpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehrvghmihesrhgvmhhlrggsrdhnvghtqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le tiistaina 11. heinäkuuta 2023, 18.37.36 EEST Heiko Stuebner a écrit : > From: Heiko Stuebner > > The openSSL scripts use a number of helpers for handling vector > instructions and instructions from the vector-crypto-extensions. Uh but the kernel RVV code requires an assembler that supports the `.option arch` directive and the V extension anyway. Is there a need to wrap vector load/store and ALU instructions from the Vector spec? This trick should only be necessary for the Zvk*-specific stuff, AFAICT. (Also FWIW, this can be done directly with .macro inside a header file, without involving Perl.) -- Rémi Denis-Courmont http://www.remlab.net/