Ruby 4.1.0dev (2026-10-28 revision 1b06b950bb460d20a9dcecb8b97d363adbf4a358)
accel.h
Go to the documentation of this file.
1
4#ifndef PRISM_COMPILER_ACCEL_H
5#define PRISM_COMPILER_ACCEL_H
6
8
18#if (defined(__aarch64__) && defined(__ARM_NEON)) || (defined(_MSC_VER) && defined(_M_ARM64))
19# define PRISM_HAS_NEON
20#elif (defined(__x86_64__) && defined(__SSE2__)) || (defined(_MSC_VER) && defined(_M_X64))
21# define PRISM_HAS_SSE2
22#elif defined(PRISM_LITTLE_ENDIAN_COMPTIME)
23# define PRISM_HAS_SWAR
24#endif
25
26#endif