Source-Changes archive

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

CVS commit: basesrc/lib/libc/arch/arm/gen



Module Name:    basesrc
Committed By:   bjh21
Date:           Mon Oct 29 20:16:55 UTC 2001

Modified Files:
        basesrc/lib/libc/arch/arm/gen: isinf.c isnan.c

Log Message:
Change isnan() and isinf() to use a union to convert from double to
struct ieee_double, rather than a pointer cast.  This seems to enable
GCC 2.95.3 to get the instruction dependencies right (the old one fell
foul of ANSI aliasing rules), and it also generates more sensible code in
general.

If this is the correct solution, it should be applied to the other ports.
If it's not, someone should come up with one that _is_ correct.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 basesrc/lib/libc/arch/arm/gen/isinf.c \
    basesrc/lib/libc/arch/arm/gen/isnan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index