ack/tests/plat
George Koehler f6a1e08218 Test long long division and remainder; fix i386.
My i386 code from 893df4b gave the wrong sign to some 8-byte
remainders.  Fix by splitting .dvi8 and .rmi8 so each has its own code
to pick the sign.  They and .dvu8 and .rmu8 share a private sub
.divrem8 for unsigned division.

Improve the i386 code by using instructions like _bsr_ and _shrd_.
Change the helpers to yield a quotient in ebx:eax or a remainder in
ecx:edx; this seems more convenient, because _div_ puts its quotient
in eax and remainder in edx.
2019-09-16 20:19:36 -04:00
..
b Make sure that constant folding doesn't render our tests trivial. 2017-01-07 19:53:57 +01:00
bugs Add failing test case. 2019-02-14 23:19:11 +01:00
core Add and test rol 8, ror 8 for linux386. 2019-09-12 19:47:51 -04:00
floats Converting floats and doubles to integers now works, as much as these ever do 2018-09-12 23:58:48 +02:00
lib Added a test for set. Fix mips set implementation. 2018-09-17 11:56:15 +01:00
long-long Test long long division and remainder; fix i386. 2019-09-16 20:19:36 -04:00
m2 Add tests for C <setjmp.h> and Modula-2 Semaphores. 2018-01-03 14:51:14 -05:00
build.lua Test long long division and remainder; fix i386. 2019-09-16 20:19:36 -04:00
testdriver.sh Modify the pc86 test harness to use 8086tiny instead of qemu. Sadly, some tests fail. 2018-06-03 15:13:43 +02:00