$ show intel/ARM_NEON_2_x86_SSE
This repository provides a header-only library, NEON_2_SSE.h, that enables porting of ARM NEON intrinsics code to x86 platforms by mapping ARM NEON intrinsics to equivalent x86 SIMD intrinsics (SSE, AVX2, etc.). The library is designed to be used as a drop-in replacement for arm_neon.h when compiling for x86, allowing developers to write SIMD code using NEON intrinsics that can be compiled on both ARM and x86 without modification. The project includes a CMake-based build system for installation and packaging, and the header is self-contained, requiring only the target platform's compiler intrinsics headers. The codebase appears to be stale, with the latest copyright dates in the provided files (LICENSE, CMakeLists.txt) indicating updates up to 2020. The provided last commit date (2026-04-28) is invalid (future date), suggesting a data error, but the file copyrights imply no recent activity. The library focuses on compatibility up to AVX2 and does not show signs of technical drift, as it relies on stable compiler intrinsics interfaces. The primary value lies in the NEON_2_SSE.h header, which implements a non-trivial mapping between SIMD architectures.
The LLM identified 1 files worth highlighting for reuse:
The NEON_2_SSE.h header provides a comprehensive mapping from ARM NEON intrinsics to x86 SIMD intrinsics (SSE, AVX2, etc.), enabling drop-in porting of NEON code to x86. It is self-contained, requires no dependencies beyond the compiler's intrinsics headers, and demonstrates non-obvious skill in handling the nuances of both SIMD architectures. The header can be extracted and used in any project with minimal modification, making it a highly reusable component for SIMD code portability.