Som version 1.8
som 1.8 explain
This is a bug-fixed version of som-v17. Most bugs are in the code
generator. "gencode.c" has been heavily rewritten. There is
still some code sequence that is not optimised but it is correct.
It has been tested and passed all benchmarks in "test" directory.
The macro has been fully debugged as well, especially the "full" macro.
Some optimisation has been implemented:
1) strength reduction, preprocessing literal arithmetic
2) lit k, mov v RETVAL --> movi v #k when k is 16-bit
This version is used to develop som-v23 (som-in-som in progress).
som-v23 can compile and generate code correctly including all
macros.
The "eval" is being developed. So, som-v18 has been subject to
extensive test to run som-v23 (around 2500 lines of som-code) except
the "eval" part.
som 1.8 can do "load", see an example in "bubmat.txt" in "test"
directory.
Performance measurement (number of instruction)
Compare to v 1.7 this version is a bit faster (execute less
number of instruction).
bubble 4188
hanoi 1178
matmul2 6090
perm 1844
queen2 233117
quick 1741
sieve 5984
aes4 11008
27 May 2006