Kolejne poprawki Pettera Schau w kodzie emulatora Amigi 500. Ciekawe, czy to chwilowy zryw jaki autorzy od czasu do czasu wykazują, czy może coś zaskoczyło w tym projekcie i będzie można notować zmiany trochę częściej niż raz do roku;).
WinFellow 20.07.11 p678
- Reduced overhead some more in bus event and cpu instruction scheduling some more.
- Trying out another memory ptr optimisation to reduce opcode read time. Needs more work to be safe.
WinFellow 20.07.11 p677
Some optimizations:
- Added cpuIntegrationExecuteInstructionEventHandler68000Fast, hardcoded for the usual 7Mhz scenario. Reduces overhead of instruction time calculations.
- Removed cpuSetCurrentOpcode call from cpuExecuteIntruction when logging isn't compiled in.
WinFellow 18.07.11 patchset 676
Some optimizations:
- bus and CPU module: bus event and cpu instruction logging moved into #ifdefs. Removes dummy calls to logging functions found in the main bus loop, and the cpu instruction execution entry point and from irq and exception processing.
- CPU module: CPU flag calculations rewritten for speed.
- fmem.c: Re-introduced an old optimisation in a more general form, using memory pointers to read values from memory that is real memory.
- floppy.c: Was doing some minor logging of head positions. Commented it out.
- bus.c and cpuIntegration.c: Some other tweaks to the bus event loop and cpu execution loop to make sure no unnecessary code was run inside the loops.
- sysinfo: Using ...Ex method to read memory size larger than 4GB.
wstecz20/07/2011 08:39