As part of my spinlock testing, I noticed that we test for __cpu__ when
using gcc, and __cpu when not using gcc. However, I see that my i386
gcc 2.95 defines both (shown using src/tools/ccsym):
__GNUC__=2__GNUC_MINOR__=95unix__i386__i386__bsdi__bsdi__ELF____GAS__=2__GAS_MINOR__=10__unix____i386____i386____bsdi____bsdi____ELF____GAS__=2__GAS_MINOR__=10__unix__i386__bsdisystem=unixsystem=bsdcpu=i386machine=i386cpu=i386machine=i386i386__i386__i386__
So, I wonder if we should be testing _just_ for __cpu, perhaps starting
in 7.5.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073