Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37335707rwd; Tue, 11 Jul 2023 12:47:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoE/OAUYY+DhegGxgFg3Zh5AlB7iXQ2vFf1Je/iuhUTiV2eWPiw2+jgHd3eJdzWQu4rFpP X-Received: by 2002:a05:6358:7e08:b0:12b:c378:b090 with SMTP id o8-20020a0563587e0800b0012bc378b090mr11498475rwm.26.1689104858090; Tue, 11 Jul 2023 12:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689104858; cv=none; d=google.com; s=arc-20160816; b=Nb2MwBG0S+6wB2ANbN1P6uX+9/Pwn8eAM2wf0ZrvFdo54wp+NZlzXA1dg01WWG5gud zvu+1EA8nxZp8qQ2w8mYe9z1oqtvGBqZwD2tM0HstekFxu0PXX0Cqyel14goLNNG2Ywe Grq68vokGatdlQLtYbv8pjBNR8IQec5aoJMupRZqOBN6sgzBOFx+2ufSPE393/Yo9R8h Sc0WRdDpVqkkbYgobqO5Zba9ajbZQFAItKiQV2+ULsWW4MG+eAikERA2NCsvRjz5ty+S A+83RHGhn1uBC7hKRrO3faadoPM3RF1O1Bimruskk7aQ4O5+mzO9/jJ+uMfNFgW3D3+V OJ8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=ISwVszV49UzJNV05FDjKxAyizRbYtGlnIEsQzGONlSI=; fh=1GWXF84Ku2pB+jwNihOYZsFXYI3j9RVItIN/F/tjjrQ=; b=JwOuPyh2rbJds5ZA4dHjscGvxJe/YWpiakds89wse7MHil365CKuUu7Z74pgCSemfY LYpy2Ho4OxFCV7RF13gxdY/5m2NZce4fQE9//u9fPhFSIMzhlH4Mf7bAQPTn/AeEb77t CVNFEKCwn1HumYrdvoZtr6xk/n9GgIfUlLFO37jSNa/nj+LgzD7PY2mNkE3xPFwRVMwW FvdZ0uDeJYwa1qWIAjgR2SUNo+yzd88bq/S6NvYwXITeruM23znAp9fXypF7ZXTOm14P dlKIOMgpMcsyLioFqwo/eWcK2B50AoYZCzmJeIcv9rYsJCeJVDkWFxlBKR5G4usiYeY2 TJdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j11-20020a63e74b000000b00557531eafaesi1776277pgk.761.2023.07.11.12.47.25; Tue, 11 Jul 2023 12:47:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230482AbjGKTV4 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 11 Jul 2023 15:21:56 -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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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/