This is the mail archive of the
mailing list for the GCC project.
- From: FranÃois-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- To: fortran at gcc dot gnu dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 14 Apr 2005 16:39:30 +0200
- Subject: Processor-specific code
- Organization: Laboratoire de Chimie Physique
I'm working on implementation of the different FPU options for libgfortran,
the runtime library for gfortran (e.g., on which floating-point exception do
we want a SIGFPE to be raised, what rounding-mode does the user want, etc.).
There is nothing in standard C (or even POSIX) to do that, and we'll have to
include some processor-specific code. How does the build system allow that?
Can we have a system of MACRO defined depending on the target processor
(something like TARGET_FPU_IS_PPC)?
PS: If I said something stupid or offended your sense of riguor, please
don't be too harsh on someone new to this kind of problem.