Subject: Preprocessor define for m68020 or greater
To: None <port-m68k@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: port-m68k
Date: 02/04/2007 23:04:06
I would like to use instructions like tas, cas, and cas2 in some kernel
code - so I'd need to know if we are compiling for m68020 or greater - is
there some easy way to do that?

#if defined(__mc68020__) || defined(__mc68030__) ... 

does not seem like the most elegant way.

Thanks,

Martin