Here's something for someone looking to do something interesting while the 
code freeze is on.

Write yourself a program that takes a .pasm file and, rather than spitting 
out bytecode, spits out the bodies of the opcode functions with the 
appropriate replacements done on the parameters. The output should be 
suitable for stuffing into the guts of test_main.c in the place of the call 
to the runops loop.

Doing this by hand with -O3, you can see a speedup of around a factor of 45 
over an unoptimised runops loop, so it's definitely worth doing in some 
cases...

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to