On Sat, 25 Nov 2023 at 12:24, Petr Cvek <[email protected]> wrote: > > GCC defines __i386__ for i386 and i486, which both lack RDTSC instruction. > The i386 seems to be impossible to distinguish, but i486 can be identified > by checking for undefined __i486__. > > Signed-off-by: Petr Cvek <[email protected]>
Last time this came up (over a decade ago!) we dropped the idea because we couldn't find a consistent way of identifying the no-RDTSC CPUs: https://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/ We have already deprecated 32-bit x86 host support for system emulation mode, incidentally. thanks -- PMM
