Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] urgent toolchain


  • To: arm-gnu@xxxxxxxxxxxxxxxx
  • Subject: Re: [arm-gnu] urgent toolchain
  • From: Charles Manning <manningc2@xxxxxxxxxxxxx>
  • Date: Tue, 19 Aug 2008 11:32:00 +1200

On Tuesday 19 August 2008 02:39:52 Carlos O'Donell wrote:
> Gilles Chanteperdrix wrote:
> >> Using "-mfpu=vfp -mfloat-abi=softfp" instead of "-msoft-float" will
> >> enable VFP hardware floating-point code-generation for your program. The
> >> run-time libraries will still use software floating-point. Routines
> >> compiled for VFP are compatible with software floating-point.
> >
> > It looks like run-time libraries do contain some FP code. Here is an
> > excerpt of disassembling
> > arm-2007q3/arm-none-linux-gnueabi/libc/lib/libc-2.5.so:
>
> The run-time may contain VFP instructions as long as they are never
> executed on hardware that does not have a VFP.

Won't executing an FP instruction on non-FP hardware just raise an illegal 
instruction exception allowing an exception handler to do software FP if this 
is set up?