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: RFA: add fsrra and fsca instructions to SH simulator (resend)


> 2003-10-24 J"orn Rennecke <joern.rennecke@superh.com>
> > * interp.c (fsca_s, fsrra_s): New functions.
> * gencode.c (tab): Add entries for fsca and fsrra.
> (expand_opcode): Allow variable length n / m fields.


Is it possible for this code to use the far more portable sim-fpu?


The entire SH3E / SH4 simulator in sim/sh already uses native floating point,
so making just these two instructions use sim-fpu would be pointless.

Converting the entire simulator would of course be possible, but I don't
see any pressing need to do this now.  We have far more urgent issues
with SH5 support in gcc and gdb that we should address first.

Can _just_ these new functions be implemented using sim-fpu?


Since the other code effectively pre-dates sim-fpu the fact that it didn't use it is understandable. However, that doesn't excuse _new_ code from using the more robust sim-fpu. You'll note that I carefully avoided suggesting that you should fix any of the old code - that would be unreasonable.

Andrew



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