From: em Date: Thu, 21 Jun 1984 13:09:51 +0000 (+0000) Subject: Assembler peephole optimizer added. X-Git-Tag: release-5-5~6247 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e11e21fcf84c4d0981aa533cf4d888592966df9c;p=ack.git Assembler peephole optimizer added. --- diff --git a/lib/vax4/descr.src b/lib/vax4/descr.src index f69102297..bd5f77d04 100644 --- a/lib/vax4/descr.src +++ b/lib/vax4/descr.src @@ -17,8 +17,15 @@ name be prop > need .e end -name as +name asopt from .s + to .so + program /bin/sed + args -f {EM}/mach/vax4/cg/sedf + prop O<> +end +name as + from .s.so to .o program /bin/as args - -o > < @@ -32,6 +39,6 @@ name ld args (.e:{HEAD}={EM}/{RT}em) \ ({RTS}:.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \ (.p:{TAIL}={EM}/{LIB}pc) (.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ -(.e:{TAIL}={EM}/{LIB}em) (.c.p:{TAIL}={EM}/{LIB}mon) +(.c.p:{TAIL}={EM}/{LIB}mon) (.e:{TAIL}={EM}/{LIB}em) prop C end