This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
backend porting question
- To: gcc at gcc dot gnu dot org
- Subject: backend porting question
- From: Michael Poole <poole at troilus dot org>
- Date: 04 Aug 2000 15:15:57 -0400
In my (continuing) efforts to port GCC to a new processor, I'm having
trouble getting GCC to compile software floating-point support for
libgcc2. In particular, it's using xgcc to compile fp-bit.c, and
complaining about the modes requested by the code.
In file included from fp-bit.c:1:
../../gcc/gcc/config/fp-bit.h:88: no data type for mode `SF'
../../gcc/gcc/config/fp-bit.h:89: no data type for mode `DF'
(respectively, those lines are:
typedef float SFtype __attribute__ ((mode (SF)));
typedef float DFtype __attribute__ ((mode (DF)));
)
I'm not sure why this is causing problems. The only thing I can think
of is that it's related to BITS_PER_UNIT being 32 rather than 8, but I
cannot tell what special in the 1750a, c4x, or dsp16xx back-ends
(which are the distributed back-ends with BITS_PER_UNIT > 8) tells GCC
how to do the appropriate type translations.
Can anyone tell me how I should get GCC to compile the rest of libgcc2?
-- Michael