File: config.h.in

package info (click to toggle)
moarvm 2020.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,652 kB
  • sloc: ansic: 268,178; perl: 8,186; python: 1,316; makefile: 768; sh: 287
file content (84 lines) | stat: -rw-r--r-- 2,207 bytes parent folder | download
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/* !!!
 * If you're looking at config.h and thinking of editing - this is a
 * generated file. See build/config.h.in, unless you're just twiddling
 * to get things to work on your platform before updating Configure,
 * in which case go right ahead. :-)
 * !!!
 */

/* Version information. */
#define MVM_VERSION "@version@"
#define MVM_VERSION_MAJOR @versionmajor@
#define MVM_VERSION_MINOR @versionminor@
#define MVM_VERSION_PATCH @versionpatch@

/* Various compiler-specific pragmii. */
#define MVM_NO_RETURN @noreturnspecifier@
#define MVM_NO_RETURN_ATTRIBUTE @noreturnattribute@
#define MVM_FORMAT(X, Y, Z) @formatattribute@
#define MVM_FALLTHROUGH @fallthrough@

/* DLL interface definitions. */
#define MVM_DLL_IMPORT @dllimport@
#define MVM_DLL_EXPORT @dllexport@
#define MVM_DLL_LOCAL  @dlllocal@

/* Set in case of big-endian sytems.
 * The default byte order is little-endian. */
#if @be@
#define MVM_BIGENDIAN @be@
#endif

/* pthread_yield() detection */
#if @has_pthread_yield@
#define MVM_HAS_PTHREAD_YIELD @has_pthread_yield@
#endif

/* pthread_setname_np() detection */
#if @has_pthread_setname_np@
#define MVM_HAS_PTHREAD_SETNAME_NP @has_pthread_setname_np@
#endif

#if @has_fn_malloc_trim@
#define MVM_HAS_FN_MALLOC_TRIM @has_fn_malloc_trim@
#endif

/* How this compiler does static inline functions. */
#define MVM_STATIC_INLINE @static_inline@

#if @has_thread_local@
/* How this compiler declares thread local storage. */
#define MVM_THREAD_LOCAL @thread_local@
#endif

#if @can_unaligned_int32@
#define MVM_CAN_UNALIGNED_INT32
#endif

#if @can_unaligned_int64@
#define MVM_CAN_UNALIGNED_INT64
#endif

#if @can_unaligned_num64@
#define MVM_CAN_UNALIGNED_NUM64
#endif

#define MVM_PTR_SIZE @ptr_size@


#if @havebooltype@
#define MVM_BOOL @booltype@
#endif

/* Should we translate \n to \r\n on output? */
#define MVM_TRANSLATE_NEWLINE_OUTPUT @translate_newline_output@

#define MVM_JIT_ARCH @jit_arch@
#define MVM_JIT_PLATFORM @jit_platform@

#define MVM_VECTORIZE_LOOP @vectorizerspecifier@

/* Branch condition compiler hints */
#define MVM_LIKELY(condition) @expect_likely@
#define MVM_UNLIKELY(condition) @expect_unlikely@
#define MVM_EXPECT(condition, expection) @expect_condition@