[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-timer: Don't use RDTSC on 3
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-timer: Don't use RDTSC on 386s and 486s |
Date: |
Fri, 23 Nov 2012 16:21:26 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Peter Maydell wrote:
> On 23 November 2012 15:31, Jamie Lokier <address@hidden> wrote:
> > x86 instruction sets haven't followed a linear progression of features
> > for quite a while, especially including non-Intel chips, so it stopped
> > making sense for GCC to indicate the instruction set in that way.
>
> If you're going to go down that route you need to start defining
> #defines for features then, so we could say defined(__rdtsc__)
> or defined(__cmov__) and so on. I don't see any of those either :-(
It does for some major architectural instructions groups like MMX,
different kinds of SSE, etc. But not everything and I don't see cmov
among them. I agree it's unfortunate.
-- Jamie