As the 68040/68060 FPU have several instructions emulated, the current check based on -mhard-float (or __HAVE_68881__ to be precise) isn't enough. We should check also for given CPU macro and not enable instructions which are emulated so when compiled with -m68040 or -m68060 the library will be 100% exception-free.