diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-09 05:13:37 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 03:15:01 -0500 |
commit | 0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4 (patch) | |
tree | 532fd8862224ef99d9af70eeb431e6b12f3e524a /sim/ppc/inline.h | |
parent | 22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab (diff) | |
download | gdb-0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4.zip gdb-0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4.tar.gz gdb-0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4.tar.bz2 |
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.
Diffstat (limited to 'sim/ppc/inline.h')
-rw-r--r-- | sim/ppc/inline.h | 36 |
1 files changed, 18 insertions, 18 deletions
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 |