[hatari-devel] 68030 Debug mode and new CPU

Eero Tamminen oak at helsinkinet.fi
Mon Feb 21 21:10:52 CET 2011


Hi,

On maanantai 21 helmikuu 2011, Laurent Sallafranque wrote:
> It seems to work for me, no regression detected.

Thanks!


> Le 20/02/2011 23:07, Eero Tamminen a écrit :
>> Btw. While testing the compilation, I noticed this in cpu/cpummu.h:
>> 	#define likely(x) x
>> 	#define unlikely(x) x
>> 
>> Why the optimization macros from main.h (intended to mark code branches
>> as cold/hot) are nullified?

They were already in your original import of this file:
http://hg.berlios.de/repos/hatari/file/026e498bd040/src/cpu/cpummu.h

Is it just just that the WinUAE author didn't know how to properly check
for GCC version when he imported the MMU code from Aranym?

Maybe you could just remove them and add:
	#include "main.h"
to any C-file that gets compiler warning after that?


	- Eero



More information about the hatari-devel mailing list