aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/std-config.h
AgeCommit message (Collapse)AuthorFilesLines
2022-11-05sim: ppc: delete unused host bitsize settingsMike Frysinger1-6/+2
Nothing checks this define anywhere, so drop all the logic. We don't want this to be a configure option in the first place as all such usage should be automatic & following proper types.
2022-03-24sim: fix “alligned” typosReuben Thomas1-1/+1
Change-Id: Ifd574e38524dd4f1cf0fc003e0c5c7499abc84a0
2021-07-01sim: unify reserved instruction bits settingsMike Frysinger1-6/+0
Move these options up to the common dir so we only test & export them once across all ports. The setting only affects igen based ports, and they were turning this on by default, so keep the default in place.
2021-06-19sim: ppc: rename inline defines to match common codeMike Frysinger1-17/+16
Use the same basic names as the common sim inline logic so we can merge the two. We don't do that here, just prepare for it. The common code seems to be based on the ppc version but with slightly different names as it was cleaned up & generalized. I *think* these concepts are the same, so binding them together is OK, but maybe I'm misreading them. If so, can always tweak them later. REVEAL_MODULE -> H_REVEALS_MODULE INLINE_MODULE -> C_REVEALS_MODULE
2021-06-16sim: ppc: convert to bfd_endianMike Frysinger1-15/+10
Rather than re-invent endian defines, as well as maintain our own list of OS & arch-specific includes, punt all that logic in favor of the bfd ones already set up and maintained elsewhere. We already rely on the bfd library, so leveraging the endian aspect should be fine. This was done for all the other ports years ago, so catch ppc up.
2021-06-16sim: ppc: drop host endian configure optionMike Frysinger1-6/+11
The --enable-sim-hostendian flag was purely so people had an escape route for when cross-compiling. This is because historically, AC_C_BIGENDIAN did not work in those cases. That was fixed a while ago though, so we can require that macro everywhere now and simplify a good bit of code. This was done for all the other ports years ago, so catch ppc up.
2021-06-12sim: ppc: unify env settings tooMike Frysinger1-0/+1
The ppc port doesn't share a lot of the common logic, but there are a few bits that bleed across. Have it use the common configure for environment settings too to avoid duplicate define errors after the recent unification with the other ports.
2016-01-10sim: move many common settings from CPPFLAGS to config.hMike Frysinger1-22/+0
Rather than stuffing the command line with a bunch of -D flags, start moving things to config.h which is managed by autoheader. This makes the makefile a bit simpler and the build output tighter, and it makes the migration to automake easier as there are fewer vars to juggle. We'll want to move the other options out too, but it'll take more work.
2016-01-10sim: drop --enable-sim-{regparm,stdcall} optionsMike Frysinger1-34/+0
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.
2016-01-04sim: punt x86-specific bswap logicMike Frysinger1-9/+0
The compiler/C library should produce reasonable code for htonl/ntohl, and at least glibc tries pretty hard to always produce good code for them. This logic only had support for 32-bit x86 systems anymore, and it's unlikely people were even opting into this, so drop it all.
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker1-2/+1
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker1-1/+1
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
2009-10-152009-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* std-config.h: Fix spelling error.
2002-02-25Fix PR gdb/287. From wiz at danbala. Then->than and typos.Andrew Cagney1-2/+2
2001-12-14* support sim-fpu.c for correct FP emulation.Matthew Green1-9/+9
* 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.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+672
1999-04-16Initial creation of sourceware repositoryStan Shebs1-660/+0
1996-08-067/30 release from AndrewMichael Meissner1-5/+32
1996-07-23New simulator changes from AndrewMichael Meissner1-18/+70
1995-12-15Changes from AndrewMichael Meissner1-54/+152
1995-11-28Add determining when we do not have enough writeback slots; Do not do model ↵Michael Meissner1-1/+9
specific handling if not printing out the information
1995-11-27Build again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use ↵Michael Meissner1-47/+10
__attribute__((const))
1995-11-15Add option to make options inlineMichael Meissner1-2/+26
1995-11-12Add support for setting model name and other thingsMichael Meissner1-1/+26
1995-11-08first stage in function unit support; add new switches & latest code from andrewMichael Meissner1-3/+51
1995-11-02Andrew's latest changes & print all instruction counts if -IMichael Meissner1-9/+10
1995-11-01remove extra #endifMichael Meissner1-4/+0
1995-10-31New changes from AndrewMichael Meissner1-444/+90
1995-10-12Inline most things except semantics which causes GCC to balloon, and ↵Michael Meissner1-0/+772
device{s,_tree} which causes a bug