ack/mach
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
..
6500 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
6800 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
6805 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
6809 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
arm Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
em22 Add the core of a simple em22 platform. Unfortunately it doesn't work; the old 2018-06-10 20:25:48 +09:00
em24 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
em44 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
i80 Teach some ncg machines to use .data8 2019-08-13 15:37:05 -04:00
i86 Teach some ncg machines to use .data8 2019-08-13 15:37:05 -04:00
i386 Test long long division and remainder; fix i386. 2019-09-16 20:19:36 -04:00
m68k2 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
m68k4 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
m68020 Teach some ncg machines to use .data8 2019-08-13 15:37:05 -04:00
mantra Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
minix Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
minixST Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
mips Fix issue with logical operations and small signed constants which turned out 2019-02-13 20:56:10 +01:00
moon3/ncg Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
ns Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
pdp Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
pmds Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
pmds4 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
powerpc Teach some ncg machines to use .data8 2019-08-13 15:37:05 -04:00
proto Add .data8 for 8-byte literal integers to the assembler. 2019-08-13 11:47:44 -04:00
s2650 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
sparc Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
sparc_solaris Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
sun2 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
sun3 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
vax4 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
vc4 Teach some ncg machines to use .data8 2019-08-13 15:37:05 -04:00
xenix3 Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
z80 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
z8000 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00