Ruby
4.1.0dev (2026-11-17 revision 3a19e2efcf133ee35daaeffc36633cd99a9f2c47)
prism
compiler
accel.h
Go to the documentation of this file.
1
4
#ifndef PRISM_COMPILER_ACCEL_H
5
#define PRISM_COMPILER_ACCEL_H
6
7
#include "
prism/compiler/endianness.h
"
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
endianness.h
Generated by
1.15.0