Update lightrec.h header to latest version
[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 0
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 1
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 1
25 #define OPT_EARLY_UNLOAD 1
26
27 #endif /* __LIGHTREC_CONFIG_H__ */
28