 |
Project
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef RANS_INTERNAL_COMMON_DEFINES_H_
17#define RANS_INTERNAL_COMMON_DEFINES_H_
22#error RANS_AVX2 cannot be directly set
25#error RANS_SSE cannot be directly set
27#ifdef RANS_SINGLE_STREAM
28#error RANS_AVX cannot be directly set
31#error RANS_COMPAT cannot be directly set
34#error RANS_SIMD cannot be directly set
37#error RANS_SSE_ONLY cannot be directly set
40#error RANS_FMA cannot be directly set
43#if (defined(__x86_64__) || defined(__aarch64__))
45#if defined(__SIZEOF_INT128__)
46#define RANS_SINGLE_STREAM
50#if defined(__x86_64__)
51#if defined(__SSE4_2__)
59#if (defined(RANS_SSE) && !defined(RANS_AVX2))
63#if (defined(RANS_SSE) || defined(RANS_AVX2))
71#if defined(RANS_ENABLE_PARALLEL_STL) && defined(__cpp_lib_execution)
72#define RANS_PARALLEL_STL