Fix nearly all the comparisons, a lot of which were broken. Using a rst for
authorDavid Given <dg@cowlark.com>
Fri, 15 Feb 2019 20:30:27 +0000 (21:30 +0100)
committerDavid Given <dg@cowlark.com>
Fri, 15 Feb 2019 20:30:27 +0000 (21:30 +0100)
commitd63a359a49927342a54104d0730dccc9b67949b5
tree0079c238c7ecf0ceb2d719839ceeb5a18f5e1565
parent91c75f81b54c2a808ff115851295d7898e47043b
Fix nearly all the comparisons, a lot of which were broken. Using a rst for
unsigned comparisons is surprisingly not that useful due to marshalling
overhead; it's only four bytes to do inline (plus jc), or six for a constant.
Also add some useful top optimisations.  Star Trek goes from 39890 to 39450
bytes.
mach/i80/libem/cmps_mag.s
mach/i80/libem/cmpu_mag.s
mach/i80/libem/rst.s
mach/i80/ncg/table
mach/i80/top/table