Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Sandiford <rsandifo@redhat.com>
To: cgd@broadcom.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: sim/mips patch: add support for more NEC VR targets
Date: Sun, 05 Jan 2003 11:51:00 -0000	[thread overview]
Message-ID: <wvnn0mfhl1r.fsf@tantra.cambridge.redhat.com> (raw)
In-Reply-To: <yov5u1govxkk.fsf@broadcom.com>

Thanks for applying the patch ;)

cgd@broadcom.com writes:
> I believe there are two relatively minor issues with this patch
> remaining:
> 
> * Andrew wants to avoid explicit architecture checks in the mips.igen
>   file.  That seems sensible enough, I guess.  Without the code in
>   mips.igen:check_mf_cycles that he objects to, the vr5500 won't work
>   correctly but the rest of the new architectures being added should.
> 
>   I've mentioned previously to you that i'd look into this.  I've not
>   yet had much time yet, but hope to in the next week or two.

OK.  One way (I think I mentioned it privately, maybe it's what you
had in mind anyway) would be to add some sort of exclusion filter
to igen.  As well as "*FOO" to include something for architecture
FOO there could be "!FOO" (or whatever) to exclude it.

Then we could have something like:

:function:::int:check_mt_hilo:hilo_history *history
...
*mipsIV:
...
!vr5500:
... version that calls check_mf_cycles ...

:function:::int:check_mt_hilo:hilo_history *history
*mips32:
*mips64:
*r3900:
*vr5500:
... version that doesn't ...

Would it be OK to change igen along these lines?  I'll volunteer
to try it if so...

> * I believe that there are still a couple of files not cleaned
>   properly by 'make distclean'.
> 
>   Could you look into this?

Heh, that was very sloppy of me, sorry.  The files in question
(m16m32*_run.c) should never have been created in the first place.
The patch below gets rid of them and causes no change in the
executable (except for a timestamp).  Please install if OK.

Richard


	* Makefile.in (tmp-run-multi): Fix mips16 filter.

Index: sim/mips/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/mips/Makefile.in,v
retrieving revision 1.8
diff -u -d -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.8 Makefile.in
--- sim/mips/Makefile.in	5 Jan 2003 07:56:59 -0000	1.8
+++ sim/mips/Makefile.in	5 Jan 2003 11:28:14 -0000
@@ -371,7 +371,7 @@ tmp-itable-multi: $(IGEN_INSN) $(IGEN_DC
 tmp-run-multi: $(srcdir)/m16run.c
 	for t in $(SIM_MULTI_IGEN_CONFIGS); do \
 	  case $${t} in \
-	    *:*mips16*:*) \
+	    m16*) \
 	      m=`echo $${t} | sed -e 's/^m16//' -e 's/:.*//'`; \
 	      sed <  $(srcdir)/m16run.c > tmp-run \
 		    -e "s/^sim_/m16$${m}_/" \


  reply	other threads:[~2003-01-05 11:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04  9:44 Richard Sandiford
     [not found] ` <mailpost.1033749908.1650@news-sj1-1>
2002-10-04 10:54   ` cgd
2002-10-09  7:14     ` Richard Sandiford
2002-10-22 15:27       ` cgd
2002-11-05  8:20         ` Richard Sandiford
2002-11-06 10:44           ` cgd
2002-11-06 14:46           ` cgd
2002-11-06 15:08             ` cgd
2002-11-26  4:44             ` Richard Sandiford
     [not found]               ` <mailpost.1038314670.25092@news-sj1-1>
2002-11-26 12:49                 ` cgd
2002-11-26 16:55               ` Andrew Cagney
     [not found]                 ` <mailpost.1038358543.15485@news-sj1-1>
2002-11-26 17:48                   ` cgd
2002-11-26 19:10                     ` Andrew Cagney
     [not found]                       ` <mailpost.1038366650.19029@news-sj1-1>
2002-12-03  9:17                         ` cgd
2002-12-03  9:35                           ` Andrew Cagney
2003-01-05  7:57               ` cgd
2003-01-05 11:51                 ` Richard Sandiford [this message]
     [not found]                   ` <mailpost.1041767504.18587@news-sj1-1>
2003-01-06  7:18                     ` cgd
2002-11-06 16:46     ` Andrew Cagney
2002-11-06 17:28       ` cgd
2002-11-06 17:40         ` Andrew Cagney
2002-11-07 11:08           ` cgd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wvnn0mfhl1r.fsf@tantra.cambridge.redhat.com \
    --to=rsandifo@redhat.com \
    --cc=cgd@broadcom.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox