[PATCH] Add sh4-nommu-nofpu architecture

Alexandre Oliva aoliva@redhat.com
Wed Mar 10 06:27:00 GMT 2004


On Mar  9, 2004, amylaar@spamcop.net (Joern Rennecke) wrote:

>> Also, your code seems to assume there will always be a machine number
>> that represents a superset of a given collection of machine numbers,
>> except for DSP/FPU conflicts, but this is not true.  SH5 is currently
>> the only oddball, but there may be others.  Ideally, there should be a

> I think we actually use a different emulation for SH5, so it doesn't really
> belong in the same number space.

I'm thinking that there will be other cases in which there won't be a
proper superset.  Unfortunately, I cannot disclose details of SH2A,
but it won't fit in the framework you've created, because the
numerical order you've assumed as possible is not possible.  As
Renesas and SuperH design their new chips, I'm sure more such parts
will come through.  We'll probably be better off with up_compat bits
akin to the _up macros in the assembler.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Binutils mailing list