[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] qemu/timer: Don't use RDTSC on i486
From: |
Petr Cvek |
Subject: |
Re: [PATCH] qemu/timer: Don't use RDTSC on i486 |
Date: |
Sun, 26 Nov 2023 23:49:33 +0100 |
User-agent: |
Mozilla Thunderbird |
Dne 26. 11. 23 v 14:03 Samuel Tardieu napsal(a):
>
> Petr Cvek <petrcvekcz@gmail.com> writes:
>
>> Actually I was thinking about mentioning it in the commit message also, but
>> I wasn't able
>> to find any specification for that (if all compilers use it).
>
> Note that this change would be safe: at worst, some compilers don't use
> __tune_i386__ and the situation would be the same as today without the patch.
Good remark. You're right.
>
>> Other problem is the __tune_i386__ is also set when -mtune=i386 (but with
>> -march=i686).
>
> Indeed, this is the case for GCC (not clang).
>
> Sam
Re: [PATCH] qemu/timer: Don't use RDTSC on i486, Peter Maydell, 2023/11/27