unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 63888@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#63888] [PATCH v2] gnu: Add neon2sse
Date: Sun,  4 Jun 2023 15:33:17 -0700	[thread overview]
Message-ID: <2f8bd93b222ad34c8a8a27f0f2624e0292164fe9.1685917952.git.atai@atai.org> (raw)
In-Reply-To: <0eb48801a9fb91b04e7bce653d13ed31d36cc011.1685867147.git.atai@atai.org>

* gnu/packages/assembly.scm (neon2sse): New variable
---
 gnu/packages/assembly.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 03a868690c..30b0b27482 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -553,3 +553,33 @@ (define-public intel-xed
 tools is named like @code{xed*}.  Documentation for the cli tools is sparse, so
 this is a case where ``the code is the documentation.''")
     (license license:asl2.0)))
+
+(define-public neon2sse
+  (let ((commit "097a5ecacd527d5b5c3006e360fb9cb1c1c48a1f")
+        (version "0")
+        (revision "1"))
+    (package
+      (name "neon2sse")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/intel/ARM_NEON_2_x86_SSE")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "17mf788b8asrvjl6dnyzrm5xrz20wx9j5f8n6drgc6qgwqxpx4hv"))))
+      (build-system cmake-build-system)
+      (arguments
+       (list #:tests? #f)) ;no tests
+      (home-page "https://github.com/intel/ARM_NEON_2_x86_SSE")
+      (synopsis "Header file to simplify ARM->IA32 porting")
+      (description
+       "The NEON_2_SSE.h file is intended to simplify ARM->IA32 porting.  It makes
+the correspondence (or a real porting) of ARM NEON intrinsics as defined in
+arm_neon.h header and x86 SSE (up to SSE4.2) intrinsic functions as defined
+in corresponding x86 compilers headers files.")
+      (license license:expat))))
+
+

base-commit: eed55a6544d5bda2245ec853e5fa4b28e1865bea
-- 
2.40.1





  reply	other threads:[~2023-06-04 22:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04  8:26 [bug#63888] [PATCH] gnu: Add neon2sse Andy Tai
2023-06-04 22:33 ` Andy Tai [this message]
2023-07-01 16:05   ` bug#63888: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2f8bd93b222ad34c8a8a27f0f2624e0292164fe9.1685917952.git.atai@atai.org \
    --to=atai@atai.org \
    --cc=63888@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).