Commit Graph

236 Commits

Author SHA1 Message Date
ross
885622bc86 Don't require a Makefile.inc from the arch subdir. 2001-03-22 12:27:59 +00:00
ross
c51692d12e replace use of non-portable FP_X_DNML 2001-03-22 12:22:18 +00:00
ross
d9f803c24a use fp_rnd type a bit, also do std multiple inclusion prot 2001-03-22 12:08:59 +00:00
ross
1e95d76df7 two functions have been rewritten in C 2001-03-22 12:05:36 +00:00
ross
792229ce0e __RCSID, __COPYRIGHT 2001-03-22 12:01:47 +00:00
ross
504509aa58 Move two functions from asm to C, as NetBSD has a MI interface:
o  fp_except syst_float_flags_clear(void)
  o  void syst_float_set_rounding_mode(fp_rnd direction)
Also, __RCSID
2001-03-22 12:00:06 +00:00
ross
0ce22aecff Warn about hooking up ./testfloat 2001-03-13 08:09:15 +00:00
ross
d4a390a3c3 Conversion notes. 2001-03-13 08:02:17 +00:00
ross
4d8829d5a8 Boilerplate, WARNS. 2001-03-13 07:49:33 +00:00
ross
a6c28c44df TestFloat-2a contained a bunch of code obviously intended to work
around rand(3) bugs. Replace it all with this random(3) conversion.
2001-03-13 07:47:01 +00:00
ross
101660d9a5 Two new functions:
o  syst_floatx80_to_int32_round_to_zero()
o  syst_floatx80_to_int64_round_to_zero()
Boilerplate.
<machine/asm.h>
2001-03-13 07:43:19 +00:00
ross
28904f8f58 <machine/asm.h> conversion.
Boilerplate.
2001-03-13 07:41:26 +00:00
ross
89f51f809a Boilerplate. 2001-03-13 07:39:58 +00:00
ross
8b75248b5a Generic conversion (ieeefp.h, inttypes, endian), no arm special cases yet.
Also rcsid, TNF license, derivative work notice, etc.
2001-03-13 07:37:59 +00:00
ross
0cdd4f95c5 Another generic-version of an originally target-specific .h file.
This still needs target-NaN, endian, and the arm26 DEMANGLE special case.
This may be moved back under arch/ in the future.
2001-03-13 07:25:02 +00:00
ross
159fa2a091 This file is target-specific in SoftFloat, but this is my attempt
at making a completely generic one. Modified from libc/arch/sh3/softfloat.
  o  <inttypes.h> conversion
  o  <endian.h> conversion
  o  merge of BITS32 and BITS64 ABI, C89 inline, rcsid, derivative work
  _  notice.
2001-03-13 07:18:38 +00:00
ross
5550be0101 rcsid, WARNS, don't give \r to stdio ops 2001-03-13 06:48:56 +00:00
ross
a9cb2700d6 rcsid, WARNS, don't occasionally fprintf or fputc a \r 2001-03-13 06:45:24 +00:00
ross
e247affc1d The NetBSD way. 2001-03-13 06:39:30 +00:00
ross
11dc1555d3 BSD make conversion. 2001-03-13 06:37:34 +00:00
ross
5a6cac7136 Original post-\r-rip include files for TestFloat-2a 2001-03-13 06:33:17 +00:00
ross
3fc4c3244f Import of .txt files from TestFloat-2A, after ripping the \r's out, sigh. 2001-03-13 06:23:17 +00:00
ross
122b058a16 Import of TestFLoat-2a from UCB/John R. Hauser. Source already
reorged but unmodified. (I think src/dist rocks, but this pkg
is unlikely to ever get a vendor branch rev; this seemed best.)
It has a BSD-like license, and in any case the same license as
libc/softfloat and libc/arch/arm32/fplib.
2001-03-13 06:13:57 +00:00
bjh21
39fd9b490a Make "regress" depend on the binary, so "make regress" builds it if necessary. 2001-03-11 16:40:40 +00:00
cgd
82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
cgd
d7666f6c7f use getprogname() 2001-02-20 23:22:49 +00:00
cgd
65a1026492 convert to use getprogname() 2001-02-19 22:43:42 +00:00
bjh21
13dbf7c5c5 Add a very, very simple test of XDR handling.
It just checks decoding of doubles, which NetBSD/arm32 seems to have got
wrong forever.
2001-02-18 21:57:16 +00:00
itojun
d5822f49d1 add test 41: sort -f < emptyfile bombs. 2001-02-15 17:23:20 +00:00
cgd
c1ff96b0ae go through and look for all of them, too 2001-02-14 06:03:37 +00:00
cgd
76914ab972 add IDs in the object 2001-02-14 05:32:19 +00:00
cgd
a98e831e03 Add a program to test the functionality of hsearch(). Our current
hsearch() falls right over (because it's unredeemably broken).  That's
about to change, though.
2001-02-14 05:20:10 +00:00
jdolecek
df1e7da042 40B: just symlink in and out, don't bother copying it
use -f for the sort
2001-01-19 12:34:45 +00:00
jdolecek
51a5f86386 don't use $s in test #39, that test doesn't depend on presence of -s
add two new regressions tests for long lines as test #40, using
/usr/share/dict/words; in-tree sort currently crashes during 40B, going
to fix it soon
2001-01-15 18:52:32 +00:00
jdolecek
fdbaf840be don't print any note - stest prints its own 2001-01-15 16:13:59 +00:00
simonb
439b247426 Add the "sort the dictionary" test that detected the recent lossage. 2001-01-14 14:47:56 +00:00
christos
0f41b74720 remove duplicate target empty. 2001-01-14 06:35:57 +00:00
christos
09b8ab7adf protect against multiple inclusion; bsd.prog.mk will re-include this file 2001-01-14 06:24:53 +00:00
jdolecek
96731d46b9 use $S for stuff calling sort directly, not via xsort 2001-01-12 22:35:07 +00:00
jdolecek
a8b321c587 print a disclaimer on startup about this test suite - other sort implementations
may fail some tests, yet conform to standard too; for non-stable sort,
quite a few tests have actually more possible 'correct' results, yuck!

check for presence of -S and use it to switch to non-stable sort - the tests
are not written for stable sort

Fix test 37 - for 'sort -m -r' to actually work, the input files have
to be reverse sorted as well. Now the in-tree BSD sort passes this test ;-)

print the used sort command and parameters for 'failed' messages

other small sleanups, remove accidentaly added debug stuff
2001-01-12 21:45:17 +00:00
jdolecek
2ec37dafdc do not mess with $o if misplaced -o is supported - it's orhogonal to +POS/-POS support 2001-01-11 22:26:55 +00:00
jdolecek
4502c34907 do not display the actuall command executing stests 2001-01-11 22:19:29 +00:00
jdolecek
9d7f88dae6 change so that test 35 print warning about missing -g just once
s/not present/not supported/
2001-01-11 22:18:38 +00:00
jdolecek
50b80dfd9f use shell functions instead of dynamically created external scripts
warn when test is skipped due to missing feature
2001-01-11 22:10:27 +00:00
jdolecek
0664ed5c26 make objdir safe 2001-01-11 14:12:14 +00:00
simonb
699a13760c Add regression tests for div/ldiv/lldiv. 2001-01-08 04:41:31 +00:00
simonb
d7d808597e Add regression tests for div/ldiv/lldiv.
Inspired by port-i386/11914 from Luke Mewburn.
2001-01-08 04:39:31 +00:00
drochner
b2779a2f25 test for dlopen(3) and the toolchain generating the files involved 2000-12-08 19:24:29 +00:00
drochner
44e89b161e test program for dlopen(3) 2000-12-08 19:22:51 +00:00
drochner
08a3f0ae6e test cases for dynamically loaded objects: constructor/destructor call for
static objects, C++ runtime support
2000-12-08 19:21:28 +00:00