This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: sim/mips patch: add support for more NEC VR targets
- From: cgd at broadcom dot com
- To: "Richard Sandiford" <rsandifo at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 06 Nov 2002 10:43:51 -0800
- Subject: Re: sim/mips patch: add support for more NEC VR targets
- References: <wvnn0pub1c3.fsf@talisman.cambridge.redhat.com><mailpost.1033749908.1650@news-sj1-1> <yov54rc29jom.fsf@broadcom.com><wvnit0bitrg.fsf@talisman.cambridge.redhat.com><yov5iszuqfct.fsf@broadcom.com><wvnsmygt2dr.fsf@talisman.cambridge.redhat.com>
At 05 Nov 2002 16:20:00 +0000, Richard Sandiford wrote:
> [ ... ]
> Please install if OK.
> [ ... ]
>
> common/
> * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
> (distclean): Depend on it.
>
> igen/
> * gen-engine.c (print_engine_issue_prefix_hook): Don't add the
> global prefix to ENGINE_ISSUE_PREFIX_HOOK.
> (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
I've installed both of these (the former seeming obvious enough and
the latter not getting any comment from others after repeated tries
8-).
I'm still chewing on:
> mips/
> * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
> (mips64vr-*-*, mips64vrel-*-*): New configurations.
> Add a new simulator generator, MULTI.
> * configure: Regenerate.
> * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
> (multi-run.o): New dependency.
> (SIM_MULTI_ALL, SIM_MULTI_CONFIGS): New variables.
> (BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi.
> (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New dependencies.
> (tmp-multi): Combine them.
> (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
> (distclean-extra): New rule.
> * sim-main.h: Include bfd.h.
> (MIPS_BFD_MACH): New macro.
> * mips.igen (vr4120, vr5400, vr5500): New models.
> (check_mf_cycles): Don't enforce mflo and mfhi separation
> in vr5500 code.
> (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
> * vr.igen: Replace with new version.
> * multi-run.c: New file.
I'm thinking that MIPS_BFD_MACH isn't quite right as-is, but it's
probably easier for me to fix it than to describe in vague terms what
I think it should be and then have you try to implement it. 8-)
However, before I decide, I need to fiddle with it a little bit more.
cgd