optimisation

readme file

this directory includes all files for optimisation experiment.

the baseline

nut.txt nut.obj     basic nut-compiler
gen2.txt gen2.obj   basic nut-codegenerator

the tools

nsim32.exe          n-machine evals n-obj
sx1p -l s.obj       make a listing file of s-obj
sx1p s.obj          execute s-obj
noss s.obj          noss execute s-obj

macro expansion

nut4.txt nut4.obj   nut-compiler with macro expansion
nutm.txt            nut.txt with "defm" (the target to be compiled)
nos2m.txt           nos2.txt with "defm" (the target to be compiled)

primitives

gen5.txt            code generator (modified from gen2.txt) that generate native code for !=,<=,>=,and,or,not

code generator

gen6.txt            code generator (modified from gen5.txt) perform peep hole optimisation (inc,dec,short-jmp,!=,if)

the table of frequency of instruction 

profile.xls

29 Aug 2006
