Subject: Re: -msoft-float m68k build
To: Aaron J. Grier <>
From: Frederick Bruckman <>
List: current-users
Date: 07/24/2002 13:14:13
On Wed, 24 Jul 2002, Aaron J. Grier wrote:

> ldexp_881.c contains the following snippet:
>         __asm ("fscalel %2,%1"
>                 : "=f" (temp)
>                 : "0" (value), "g" (exp));
> fscalel is a floating point op, which obviously you're trying to
> avoid...
> I'm wondering why that directory is even being visited, since almost all
> the assembly files in there use floating point operations, which is
> something you're trying to avoid.

Simply telling the compiler to avoid floating point instructions isn't
enough to force an alternate code path. It will unset __HAVE_FPU__ and
__HAVE_68881__, but there have to be appropriate "#ifdef"'s in the
code to make use of that.