-- Copyright (c) 1982-1999 Lennart Augustsson, Thomas Johnsson -- See LICENSE for the full license. -- module #include "../mcode/mcodedef_t.t" #include "../mcode/mprint.t" /* (at least) old 780 do addl3 faster than moval */ #define OLD780 1 export assemblercode, Aregs, Dregs, usecase, use3op, argcreg, tagreg, bigeqreg, indreg, cputype; rec Aregs = count 1 7 @ fail "Out of A-regs" and Dregs = count 1 7 @ fail "Out of D-regs" -- cnt>4 saves time (on a VAX780) -- (high-low)*2+5<5*cnt saves space if high<64 -- (high-low)*2+5<9*cnt saves space if high>64 and usecase max low high cnt = cnt>=4 & (high-low)*2