a3c46b7f |
1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
2 | /* |
3 | * Copyright (C) 2019-2021 Paul Cercueil <paul@crapouillou.net> |
4 | */ |
5 | |
6 | #ifndef __LIGHTREC_CONFIG_H__ |
7 | #define __LIGHTREC_CONFIG_H__ |
8 | |
9 | #define ENABLE_THREADED_COMPILER LIGHTREC_ENABLE_THREADED_COMPILER |
10 | #define ENABLE_FIRST_PASS 1 |
97fa754e |
11 | #define ENABLE_DISASSEMBLER LIGHTREC_ENABLE_DISASSEMBLER |
a3c46b7f |
12 | #define ENABLE_CODE_BUFFER 1 |
13 | |
14 | #define HAS_DEFAULT_ELM 1 |
15 | |
16 | #define OPT_REMOVE_DIV_BY_ZERO_SEQ 1 |
746146ba |
17 | #define OPT_REPLACE_MEMSET LIGHTREC_NO_DEBUG |
a3c46b7f |
18 | #define OPT_DETECT_IMPOSSIBLE_BRANCHES 1 |
19 | #define OPT_HANDLE_LOAD_DELAYS 1 |
20 | #define OPT_TRANSFORM_OPS 1 |
21 | #define OPT_LOCAL_BRANCHES 1 |
22 | #define OPT_SWITCH_DELAY_SLOTS 1 |
23 | #define OPT_FLAG_IO 1 |
746146ba |
24 | #define OPT_FLAG_MULT_DIV LIGHTREC_NO_DEBUG |
a3c46b7f |
25 | #define OPT_EARLY_UNLOAD 1 |
26 | #define OPT_PRELOAD_PC 1 |
27 | |
28 | #define OPT_SH4_USE_GBR 0 |
29 | |
30 | #endif /* __LIGHTREC_CONFIG_H__ */ |
31 | |