Assembler peephole optimizer added.

This commit is contained in:
em 1984-06-21 13:09:51 +00:00
parent 3cc1077553
commit e11e21fcf8

View file

@ -17,8 +17,15 @@ name be
prop > prop >
need .e need .e
end end
name as name asopt
from .s from .s
to .so
program /bin/sed
args -f {EM}/mach/vax4/cg/sedf
prop O<>
end
name as
from .s.so
to .o to .o
program /bin/as program /bin/as
args - -o > < args - -o > <
@ -32,6 +39,6 @@ name ld
args (.e:{HEAD}={EM}/{RT}em) \ args (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \ ({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) \ (.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 prop C
end end