From 0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Jan 2016 05:13:37 -0500 Subject: sim: drop --enable-sim-{regparm,stdcall} options These options were never exposed for most sims (just the ppc one), and they are really only useful on 32-bit x86 systems. Considering modern systems tend to be 64-bit x86_64 and how well modern compilers are at optimizing code, these have outlived their usefulness. --- sim/ppc/inline.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'sim/ppc/inline.h') diff --git a/sim/ppc/inline.h b/sim/ppc/inline.h index 6c4d325..55de0bb 100644 --- a/sim/ppc/inline.h +++ b/sim/ppc/inline.h @@ -316,21 +316,21 @@ #if defined(_INLINE_C_) && !defined(_SEMANTICS_C_) && (SEMANTICS_INLINE & INCLUDE_MODULE) # if (SEMANTICS_INLINE & INLINE_MODULE) # define PSIM_INLINE_SEMANTICS(TYPE) static INLINE TYPE UNUSED -# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED REGPARM +# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED #else -# define PSIM_INLINE_SEMANTICS(TYPE) static TYPE UNUSED REGPARM -# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED REGPARM +# define PSIM_INLINE_SEMANTICS(TYPE) static TYPE UNUSED +# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED #endif #else -# define PSIM_INLINE_SEMANTICS(TYPE) TYPE REGPARM -# define PSIM_EXTERN_SEMANTICS(TYPE) TYPE REGPARM +# define PSIM_INLINE_SEMANTICS(TYPE) TYPE +# define PSIM_EXTERN_SEMANTICS(TYPE) TYPE #endif #if 0 /* this isn't used */ #if (SEMANTICS_INLINE & PSIM_INLINE_LOCALS) # define STATIC_INLINE_SEMANTICS(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SEMANTICS(TYPE) static TYPE REGPARM +# define STATIC_INLINE_SEMANTICS(TYPE) static TYPE #endif #endif @@ -340,21 +340,21 @@ #if defined(_INLINE_C_) && !defined(_IDECODE_C_) && (IDECODE_INLINE & INCLUDE_MODULE) # if (IDECODE_INLINE & INLINE_MODULE) # define PSIM_INLINE_IDECODE(TYPE) static INLINE TYPE UNUSED -# define EXTERN_IDECODE(TYPE) static TYPE UNUSED REGPARM +# define EXTERN_IDECODE(TYPE) static TYPE UNUSED #else -# define PSIM_INLINE_IDECODE(TYPE) static TYPE UNUSED REGPARM -# define EXTERN_IDECODE(TYPE) static TYPE UNUSED REGPARM +# define PSIM_INLINE_IDECODE(TYPE) static TYPE UNUSED +# define EXTERN_IDECODE(TYPE) static TYPE UNUSED #endif #else -# define PSIM_INLINE_IDECODE(TYPE) TYPE REGPARM -# define EXTERN_IDECODE(TYPE) TYPE REGPARM +# define PSIM_INLINE_IDECODE(TYPE) TYPE +# define EXTERN_IDECODE(TYPE) TYPE #endif #if 0 /* this isn't used */ #if (IDECODE_INLINE & PSIM_INLINE_LOCALS) # define STATIC_INLINE_IDECODE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_IDECODE(TYPE) static TYPE REGPARM +# define STATIC_INLINE_IDECODE(TYPE) static TYPE #endif #endif @@ -364,21 +364,21 @@ #if defined(_INLINE_C_) && !defined(_ICACHE_C_) && (ICACHE_INLINE & INCLUDE_MODULE) # if (ICACHE_INLINE & INLINE_MODULE) # define PSIM_INLINE_ICACHE(TYPE) static INLINE TYPE UNUSED -# define EXTERN_ICACHE(TYPE) static TYPE UNUSED REGPARM +# define EXTERN_ICACHE(TYPE) static TYPE UNUSED #else -# define PSIM_INLINE_ICACHE(TYPE) static TYPE UNUSED REGPARM -# define EXTERN_ICACHE(TYPE) static TYPE UNUSED REGPARM +# define PSIM_INLINE_ICACHE(TYPE) static TYPE UNUSED +# define EXTERN_ICACHE(TYPE) static TYPE UNUSED #endif #else -# define PSIM_INLINE_ICACHE(TYPE) TYPE REGPARM -# define EXTERN_ICACHE(TYPE) TYPE REGPARM +# define PSIM_INLINE_ICACHE(TYPE) TYPE +# define EXTERN_ICACHE(TYPE) TYPE #endif #if 0 /* this isn't used */ #if (ICACHE_INLINE & PSIM_INLINE_LOCALS) # define STATIC_INLINE_ICACHE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_ICACHE(TYPE) static TYPE REGPARM +# define STATIC_INLINE_ICACHE(TYPE) static TYPE #endif #endif -- cgit v1.1