Joern Rennecke wrote: >>This is a multi-part message in MIME format. >>--------------020902070606080708050409 >>Content-Type: text/plain; charset=us-ascii; format=flowed >>Content-Transfer-Encoding: 7bit >> >>Hi Joern, >> >>Here are some benchmark results. Following your advice, I took the >>arith-rand test, increased its main loop count until it took around >>10 seconds to run on my test machine, and tested it against the eight >>optimization combinations that are tested for in the gcc torture test >>[see methodology notes attached] >> >> >>I found that my change increased the runtime by 1.5 to 2 percent >>(even when I added the new instructions that I'm working on). > > > Was that with or without ACE_FAST ? Forgot to define ACE_FAST -- new results attached (just for the 16-bit case). >>That didn't seem too bad to me, but I took some advice from Alex >>Oliva and tried simply changing the sh_jmp_table from char to short. >>This much simpler change increased the runtime by only 0.5 to 1 >>percent, at the cost of 64k more data space. > > > That makese sense... but what is the cost of adding the new instructions? Imprecisely speaking, they did not seem to make any difference at all. The number of new insns is actually not that great -- they only bring the switch statement up to about 290 cases.