Re: 32 bit float emulation on 16 bit machine

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

 



Florent Defay <spira.inhabitant@xxxxxxxxx> writes:

> I tried but ...
>
>> __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
>
> GCC is able to compare unsigned 32-int in normal programs (out of libgcc).

That seems odd.  If gcc can handle an unsigned 32-bit integer comparison
in a normal program without calling __ucmpsi2, then it should be able to
handle it in fp-bit.c as well.


> Plus, in both case (LIBGCC2_UNITS_PER_WORD as 2 or as 4), __ucmpsi2 or
> __ucmpdi2 is not called in _fpadd_parts. I checked by disassembling
> libgcc.a.

The linker must be complaining about something.  What is it complaining
about?

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux