32 bit float emulation on 16 bit machine

Ian Lance Taylor iant@google.com
Tue Jul 7 14:00:00 GMT 2009


Florent Defay <spira.inhabitant@gmail.com> writes:

> /home/guest1/gcc/new_build/target/libgcc/../.././gcc/fp-bit.c:671:
> undefined reference to `__ucmpsi2'

__ucmpsi2 is a function which does an unsigned comparison of two 32-bit
integers.  You can get gcc to build that by compiling libgcc2.c with
LIBGCC2_UNITS_PER_WORD defined as 2.  If your processor has a carry
flag, it will often be more efficient to provide an insn which does it,
these days typically via cbranchsi4.

Ian



More information about the Gcc-help mailing list