565fa8ea8e
BX_CPU_C bx_cpu; BX_MEM_C bx_mem; and when more than one processor, use BX_CPU_C *bx_cpu_array[BX_SMP_PROCESSORS]; BX_MEM_C *bx_mem_array[BX_ADDRESS_SPACES]; The changeover is controlled by BX_SMP_PROCESSORS, but there are only a few code changes since nearly all code uses the BX_CPU(n) and BX_MEM(n) macros. - This turns out to make a 10% speed difference! With this revision, the CVS version now gets 95% of the performance of the 3/25/2000 snapshot, which I've been using as my baseline. |
||
---|---|---|
.. | ||
Makefile.in | ||
memory.cc | ||
memory.h | ||
misc_mem.cc |