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

noi

bubble 4188
hanoi 1178
matmul2 6090
perm 1844
queen2 233117
quick 1741
sieve 5984
aes4 11008

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.

som18 can do "load", see an example in "bubmat.txt".

27 May 2006
