From: Gwenole B. <gb...@di...> - 2002-01-16 21:46:27
|
>> In the generated Makefile, change all occurrences of $(OBJ_DIR)/cpuopti >> used in any cpufast?.s: rule with a cat. i.e. Don't use the cpuopti >> pass. > > I'm affraid I don't understand you well, could you give me an example > from > what to what to change please? Sorry, I don't have the Makefile handy but there are rules looking as: cpufast5.s: <dependencies> <generation of cputmp5.s> $(OBJ_DIR)/cpuopti < cputmp5.s >$@ || ... rm -f cputmp5.s Replace $(OBJ_DIR)/cpuopti with a simple "cat" so that cpuopti is not used. Indeed, it could be that cpuopti removes too many instructions nowadays or registers are not properly saved in newcpu/m68k_run_1() before the call to the instruction handler. Anyway, I will probably get rid of cpuopti for B2 1.0 if the JIT compiler were to be integrated. BTW, please also consider the use of gcc3, for example. > BTW: Any chance that the JIT will be merge into the 1.0 branch? There are currently 3 problems (not necessarily JIT-related): - B2/JIT crashes just after the FPU tests from Speedometer 3.x under MacOS 8.x on a Pentium III but not on a K6-2 for example. - The APD (Apple Personal Diagnostics) crash at start in either version of B2 (JIT or non-JIT) and either fpu core (original UAE, "IEEE", x86 optimized) in 68040 emulation mode but not in 68030+FPU. - The problem you are facing right now. :-) Once those are fixed, we can consider the integration. Note that the latest B2/JIT is actually merged with the core from AmigaXL/Amithlon from mid/late December 2001. i.e. probably production-quality. Bye, Gwenole. |