This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sim/mips patch: add support for more NEC VR targets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]