New libm-test-ulps file
Andreas Jaeger
aj@suse.de
Tue Oct 23 03:22:00 GMT 2001
"Subhash Verma" <subhash.verma@wipro.com> writes:
> Hi All!
> I'm working on writing test-suite for glibc being ported to a new processor.I need some guidance regarding the matter. Sice most of the test-files are processor/platform independent they don't require any addition expect "math" part which as per my understanding,requires a processor specific file containing all ULPs ( Units of Last Precision) called "libm-test-ulps", which lives in /sysdep/_machine_/fpu (_machine_ e.g. i386, ia64 etc).
> But to generate this file for new port (New libm-test-ulps file) it is required to have executable of the test-driver (test-double, test-float ..etc). By running this executable test-driver for each type of format(test-double* for double, test-float for float etc..) corresponding ULPs are generated and concatenated into a single file.I have tried with empty "libm-test-ulps" file for
> native build of i386 (just to have an idea) I am facing some problem to build test driver because they requires some files which are generated by another file "gen-libm-test.pl", and this file requires the files libm-test.inc, and libm-test-ulps.So it is like a loop,.
Please break your lines!
There's sysdeps/generic/libm-test-ulps which will be used in case that
no libm-test-ulps exists. There's no loop, just follow
math/README.libm-test, it should answer your questions.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-alpha
mailing list