lightrec: Increase size of hw registers area
[pcsx_rearmed.git] / include / lightrec / lightrec-config.h
CommitLineData
24ec4700
PC
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
f4c049fd 9#define ENABLE_THREADED_COMPILER LIGHTREC_ENABLE_THREADED_COMPILER
24ec4700
PC
10#define ENABLE_FIRST_PASS 1
11#define ENABLE_DISASSEMBLER 0
f8548105 12#define ENABLE_CODE_BUFFER 1
24ec4700
PC
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
f6810819 19#define OPT_HANDLE_LOAD_DELAYS 1
24ec4700
PC
20#define OPT_TRANSFORM_OPS 1
21#define OPT_LOCAL_BRANCHES 1
22#define OPT_SWITCH_DELAY_SLOTS 1
24ec4700
PC
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