Petr Cvek <petrcve...@gmail.com> writes:
GCC defines __i386__ for i386 and i486, which both lack RDTSC instruction. The i386 seems to be impossible to distinguish, but i486 can be identifiedby checking for undefined __i486__.
Couldn't you check for an undefined __tune_i386__, which would be set by both GCC and LLVM when using -march=i386.
Sam -- Samuel Tardieu Télécom Paris - Institut Polytechnique de Paris