new long double code on ppc

Jack Howarth howarth@bromo.msbb.uc.edu
Sun Oct 20 08:50:00 GMT 2002


   I have two questions about the new long double code that Aldy added
to glibc cvs...

1) does this code utilize the fpu at all on machines which have one?
or is it totally a software based implementation. If the latter shouldn't
we create two versions (one fpu based and one software based) and move
them into the fpu and nofpu directories of sysdeps/powerpc out of soft-fp?

2) if we do now have long double support on ppc, why are we still seeing 
the warnings...

gcc test-float.c -c -std=gnu99 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -Wa,-mppc -mpowerpc -mnew-mnemonics   -fno-inline -ffloat-store  -Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE -D_Mlong_double_=double -I../include -I. -I/home/howarth/libc/build-powerpc-linux/math -I.. -I../libio  -I/home/howarth/libc/build-powerpc-linux -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc/powerpc32 -I../linuxthreads/sysdeps/powerpc -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/pow!
erpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I /lib/modules/2.4.20-pre5/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -I../soft-fp/ -o /home/howarth/libc/build-powerpc-linux/math/test-float.o
In file included from ../include/bits/cmathcalls.h:1,
                 from ../math/complex.h:97,
                 from ../include/complex.h:1,
                 from /home/howarth/libc/build-powerpc-linux/math/libm-test.c:120,
                 from test-float.c:34:
../math/bits/cmathcalls.h:117: warning: conflicting types for built-in function `conjl'
../math/bits/cmathcalls.h:126: warning: conflicting types for built-in function `cimagl'
../math/bits/cmathcalls.h:129: warning: conflicting types for built-in function `creall'


etc. I thought there were due to our lack of long double support and if so
they should have disappeared with the introduction of long double support.
                   Thanks for any clarifications.
                                   Jack



More information about the Libc-alpha mailing list