File: config_auto.h

package info (click to toggle)
k2pdfopt 2.55%2Bds-3.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,896 kB
  • sloc: ansic: 87,945; cpp: 5,915; makefile: 5
file content (70 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef __CONFIG_AUTO_H__

/* willus mod */
#if (defined(__NEON__) || defined(__ARM_NEON__))
#ifndef __ARM_NEON
#define __ARM_NEON
#endif
#ifndef HAVE_NEON
#define HAVE_NEON
#endif
#endif

#ifdef __AVX__
#ifndef AVX
#define AVX
#endif
#ifndef HAVE_AVX
#define HAVE_AVX
#endif
#endif

#ifdef __AVX2__
#ifndef AVX2
#define AVX2
#endif
#ifndef HAVE_AVX2
#define HAVE_AVX2
#endif
#endif

#ifdef __FMA__
#ifndef FMA
#define FMA
#endif
#ifndef HAVE_FMA
#define HAVE_FMA
#endif
#endif

#ifdef __SSE4_1__
#ifndef SSE4_1
#define SSE4_1
#endif
#ifndef HAVE_SSE4_1
#define HAVE_SSE4_1
#endif
#endif

#ifndef FAST_FLOAT
#define FAST_FLOAT
#endif

#ifndef GRAPHICS_DISABLED
#define GRAPHICS_DISABLED
#endif

#ifdef OPENMP_BUILD
#undef OPENMP_BUILD
#endif

#ifdef DISABLED_LEGACY_ENGINE
#undef DISABLED_LEGACY_ENGINE
#endif

#if defined(AVX) || defined(AVX2) || defined(FMA) || defined(SSE4_1)
# define HAS_CPUID
#endif

#define __CONFIG_AUTO_H__
#endif