diff options
author | Matthew Green <mrg@redhat.com> | 2001-12-14 00:22:13 +0000 |
---|---|---|
committer | Matthew Green <mrg@redhat.com> | 2001-12-14 00:22:13 +0000 |
commit | d29d5195ca872bb2de549abd7fe2493764580054 (patch) | |
tree | 2616cc709764e96352653e039a5e53665e33511a /sim/ppc/std-config.h | |
parent | 99339d660eebfbb4d37b1ca11e348fbcc2e41aaf (diff) | |
download | gdb-d29d5195ca872bb2de549abd7fe2493764580054.zip gdb-d29d5195ca872bb2de549abd7fe2493764580054.tar.gz gdb-d29d5195ca872bb2de549abd7fe2493764580054.tar.bz2 |
* support sim-fpu.c for correct FP emulation.
* Makefile.in (LIB_OBJ): Add @sim_fpu@.
(ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
(icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
(sim-fpu.o, sim-bits.o, tconfig.h): New targets.
* configure.in: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS. Add a
check for sim/common/sim-fpu.c. Output sim_fpu and sim_fpu_cflags.
* configure: Regenerate.
* device.h (device_find_integer_array_property): Match function definition.
* gen-icache.c (print_icache_internal_function_declaration): Rename
INLINE_ICACHE to PSIM_INLINE_ICACHE.
* gen-idecode.c (print_idecode_run_function_header): Rename INLINE_IDECODE
to PSIM_INLINE_IDECODE.
* gen-semantics.c (print_semantic_function_header): Rename
EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
* gen-support.c (print_support_function_name): Rename INLINE_SUPPORT to
PSIM_INLINE_SUPPORT.
* igen.c (print_function_name): Also escape `(' and `)'.
(gen_semantics_h): Rename EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
(gen_semantics_c): Likewise. Also output includes for "sim-fpu.h"
* inline.h (INLINE_SIM_ENDIAN): Renamed INLINE_PSIM_ENDIAN.
(EXTERN_SIM_ENDIAN): Renamed EXTERN_PSIM_ENDIAN.
(STATIC_INLINE_SIM_ENDIAN): Renamed STATIC_INLINE_PSIM_ENDIAN.
(INLINE_LOCALS): Renamed PSIM_INLINE_LOCALS.
(EXTERN_SUPPORT): Renamed PSIM_EXTERN_SUPPORT.
(INLINE_SUPPORT): Renamed PSIM_INLINE_SUPPORT.
(EXTERN_SEMANTICS): Renamed PSIM_EXTERN_SEMANTICS.
(INLINE_SEMANTICS): Renamed PSIM_INLINE_SEMANTICS.
(EXTERN_IDECODE): Renamed PSIM_EXTERN_IDECODE.
(INLINE_IDECODE): Renamed PSIM_INLINE_IDECODE.
(EXTERN_ICACHE): Renamed PSIM_EXTERN_ICACHE.
(INLINE_ICACHE): Renamed PSIM_INLINE_ICACHE.
* options.c (options_inline): Fix names.
* sim-endian-n.h: Change INLINE_SIM_ENDIAN to INLINE_PSIM_ENDIAN.
* sim-endian.h: Likewise.
* sim-main.h: New file.
* std-config.h: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.
Diffstat (limited to 'sim/ppc/std-config.h')
-rw-r--r-- | sim/ppc/std-config.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sim/ppc/std-config.h b/sim/ppc/std-config.h index eaf3558..0b7c260 100644 --- a/sim/ppc/std-config.h +++ b/sim/ppc/std-config.h @@ -340,7 +340,7 @@ extern int current_stdio; the module is included into a file being compiled, calls to its funtions can be eliminated. 2 implies 1. - INLINE_LOCALS: + PSIM_INLINE_LOCALS: Make internal (static) functions within the module `inline'. @@ -348,7 +348,7 @@ extern int current_stdio; INCLUDE_MODULE == (REVEAL_MODULE | INLINE_MODULE) - ALL_INLINE == (REVEAL_MODULE | INLINE_MODULE | INLINE_LOCALS) + ALL_INLINE == (REVEAL_MODULE | INLINE_MODULE | PSIM_INLINE_LOCALS) In addition to this, modules have been put into two categories. @@ -449,7 +449,7 @@ extern int current_stdio; #define REVEAL_MODULE 1 #define INLINE_MODULE 2 #define INCLUDE_MODULE (INLINE_MODULE | REVEAL_MODULE) -#define INLINE_LOCALS 4 +#define PSIM_INLINE_LOCALS 4 #define ALL_INLINE 7 /* Your compilers inline reserved word */ @@ -506,7 +506,7 @@ extern int current_stdio; /* Default macro to simplify control several of key the inlines */ #ifndef DEFAULT_INLINE -#define DEFAULT_INLINE INLINE_LOCALS +#define DEFAULT_INLINE PSIM_INLINE_LOCALS #endif /* Code that converts between hosts and target byte order. Used on @@ -580,7 +580,7 @@ extern int current_stdio; a jump table. */ #ifndef DEVICE_INLINE -#define DEVICE_INLINE (DEFAULT_INLINE ? INLINE_LOCALS : 0) +#define DEVICE_INLINE (DEFAULT_INLINE ? PSIM_INLINE_LOCALS : 0) #endif /* Code called used while the device tree is being built. @@ -588,7 +588,7 @@ extern int current_stdio; Inlining this is of no benefit */ #ifndef TREE_INLINE -#define TREE_INLINE (DEFAULT_INLINE ? INLINE_LOCALS : 0) +#define TREE_INLINE (DEFAULT_INLINE ? PSIM_INLINE_LOCALS : 0) #endif /* Code called whenever information on a Special Purpose Register is @@ -628,7 +628,7 @@ extern int current_stdio; code is reduced. */ #ifndef SUPPORT_INLINE -#define SUPPORT_INLINE INLINE_LOCALS +#define SUPPORT_INLINE PSIM_INLINE_LOCALS #endif /* Model specific code used in simulating functional units. Note, it actaully @@ -653,13 +653,13 @@ extern int current_stdio; into this file */ #ifndef IDECOCE_INLINE -#define IDECODE_INLINE INLINE_LOCALS +#define IDECODE_INLINE PSIM_INLINE_LOCALS #endif /* psim, isn't actually inlined */ #ifndef PSIM_INLINE -#define PSIM_INLINE INLINE_LOCALS +#define PSIM_INLINE PSIM_INLINE_LOCALS #endif /* Code to emulate os or rom compatibility. This code is called via a |