This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Add sh4-nommu-nofpu architecture
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: amylaar at spamcop dot net (Joern Rennecke)
- Cc: joern dot rennecke at superh dot com (Joern Rennecke), andrew dot stubbs at superh dot com (Andrew Stubbs), binutils at sources dot redhat dot com
- Date: 10 Mar 2004 03:27:13 -0300
- Subject: Re: [PATCH] Add sh4-nommu-nofpu architecture
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <20040310002902.30CA822ADA@meolyon.local>
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}