Subject: [bug#63888] [PATCH] gnu: Add neon2sse

From: Andy Tai <[email-masked]>
Date: Sun, 4 Jun 2023 01:26:37 -0700

* 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: b3492964c2573993b65c20f6e7d16c29cfd6f4f5
prerequisite-patch-id: 1cf5efaef61230f116426626d00146d96f649a21
prerequisite-patch-id: 91e910056bab9b38abdc1a3174ff74018fa5110c
prerequisite-patch-id: b81bf6c33129c089f53609ee5b4e4beaa223d3de
prerequisite-patch-id: b98b4e15f99547cb07147b04bab4129a2248c84d
prerequisite-patch-id: a61599c42d411fe96c04c00d15d943fdb05ca8fa
prerequisite-patch-id: bd30256c0ad82f2f439d31df957962f14342906c
-- 
2.40.1