This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/mips] Second go at vr5500 hilo hazard fix
At Thu, 25 Mar 2004 07:45:38 +0000 (UTC), "Richard Sandiford" wrote:
> So, Andrew, is it OK with you to have a bfd_mach check in mips.igen?
> As per previous discussion, we'd have something like:
>
> if (MIPS_MACH (SD) == bfd_mach_mips5500)
> ...
That is explicitly *not* what i want. I want it hidden under macros,
so that there are no obvious uses of bfd_mach* in mips.igen itself.
Given that we already have plenty of calls out to macros, some of
which may already have an architecture-related check buried way inside
(well, i don't think most do right not, but they could), IMO there's
no reason it couldn't be done in this case.
cgd