534472efb5cd3ce1de22115b332dc991e4ca65a8
[pcsx_rearmed.git] / include / lightrec / lightrec-config.h
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
11 #define ENABLE_DISASSEMBLER LIGHTREC_ENABLE_DISASSEMBLER
12 #define ENABLE_CODE_BUFFER 1
13
14 #define HAS_DEFAULT_ELM 1
15
16 #define OPT_REMOVE_DIV_BY_ZERO_SEQ 1
17 #define OPT_REPLACE_MEMSET LIGHTREC_NO_DEBUG
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
24 #define OPT_FLAG_MULT_DIV LIGHTREC_NO_DEBUG
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