Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
config.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace sysio { namespace vm {
4
5// create constexpr flags for whether the backend should obey alignment hints
6#ifdef SYS_VM_ALIGN_MEMORY_OPS
7 inline constexpr bool should_align_memory_ops = true;
8#else
9 inline constexpr bool should_align_memory_ops = false;
10#endif
11
12
13#ifdef SYS_VM_SOFTFLOAT
14 inline constexpr bool use_softfloat = true;
15#else
16 inline constexpr bool use_softfloat = false;
17#endif
18
19#ifdef SYS_VM_FULL_DEBUG
20 inline constexpr bool eos_vm_debug = true;
21#else
22 inline constexpr bool eos_vm_debug = false;
23#endif
24
25#ifdef __x86_64__
26 inline constexpr bool eos_vm_amd64 = true;
27#else
28 inline constexpr bool eos_vm_amd64 = false;
29#endif
30
31}} // namespace sysio::vm
constexpr bool eos_vm_debug
Definition config.hpp:22
constexpr bool eos_vm_amd64
Definition config.hpp:28
constexpr bool should_align_memory_ops
Definition config.hpp:9
constexpr bool use_softfloat
Definition config.hpp:16