beetle-psx-libretro/lightning-lightrec-include/config.h
Zachary Cook bd765e2bf9 Move lightning.h and lightrec config.h to fix subrepos
This allows deps/light(rec/ning) to be free of any local changes
which allows more automated merging of any updates, and centralizes
the location of locally created files, these should be regenerated
whenever changes occur in thier subrepo files:

config.h <- deps/lightrec/config.h.cmakein

lightning.h <- deps/lightning/include/lightning.h.in

Also add the defines to keep lightrec optimizations enabled by default
2021-04-28 15:58:51 -04:00

23 lines
550 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019-2021 Paul Cercueil <paul@crapouillou.net>
*/
#ifndef __LIGHTREC_CONFIG_H__
#define __LIGHTREC_CONFIG_H__
#define ENABLE_FIRST_PASS 1
#define ENABLE_DISASSEMBLER 0
#define ENABLE_TINYMM 0
#define OPT_REMOVE_DIV_BY_ZERO_SEQ 1
#define OPT_DETECT_IMPOSSIBLE_BRANCHES 1
#define OPT_TRANSFORM_OPS 1
#define OPT_LOCAL_BRANCHES 1
#define OPT_SWITCH_DELAY_SLOTS 1
#define OPT_FLAG_STORES 1
#define OPT_FLAG_MULT_DIV 1
#define OPT_EARLY_UNLOAD 1
#endif /* __LIGHTREC_CONFIG_H__ */