This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: sysdeps/powerpc/fpu/libm-test-ulps


Ulrich,
   I have created a new sysdeps/powerpc/fpu/libm-test-ulps
file using the protocol documented in math/README.libm-test.
This libm-test-ulps was created on a Powermac G4/450 AGP
running debian ppc sid with glibc 2.2.92 plus debian patches,
binutils 2.13.90.0.4 and gcc 3.2.1pre (20020830 debian
prerelease) under Linux 2.4.20pre5-ben0.

The exact procedure I used to generate this file, after a 
successful build and install of glibc 2.2.92, was...

cd powerpc-linux/obj/math
./test-double -u --ignore-max-ulp=yes
mv ULPs allULPs
./test-float -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-idouble -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-matherr -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-tgmath -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-fenv -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-fpucw -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-ifloat -u --ignore-max-ulp=yes
cat ULPs >> allULPs
./test-misc -u --ignore-max-ulp=yes
cat ULPs >> allULPs
cd ../../../glibc-2.2.92/math
./gen-libm-test.pl -u ../../powerpc-linux/obj/math/allULPs -n
mv NewUlps ../sysdeps/powerpc/fpu/libm-test-ulps.new
cd ../..
diff -uNr glibc-2.2.92/sysdeps/powerpc/fpu/libm-test-ulps \
	glibc-2.2.92/sysdeps/powerpc/fpu/libm-test-ulps.new > \   
	ppc-libm-test-ulps.patch

With this ppc-libm-test-ulps.patch applied over glibc-2.2.92, 
the math testsuite is passed completely now on debian ppc sid.
I have attached this ppc-libm-test-ulps.patch for addition to
the next glibc 2.2.9x test release. 
                                              Jack

Attachment: ppc-libm-test-ulps.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]