[lkml]   [2013]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/5 -v2.1] x86: Detect CPUID support early at boot
Sure it does... it takes time.

Borislav Petkov <> wrote:

>On Sat, Feb 09, 2013 at 08:34:53PM -0800, H. Peter Anvin wrote:
>> I wouldn't really call it a "side effect". Perhaps the right thing
>> here is to say something like "we want to start out with %eflags
>> unambiguously clear".
>> (Note also we have had to CLD earlier because we have already copied
>> the command line.)
>Ok, let's make it even more verbose so that people know in the future:
>"... we want to start out with EFLAGS unambiguously clear. That means
>in particular (even though we have cleared it earlier after copying the
>command line) because GCC expects it."
>How does that sound?
>Also, I was wondering about the whole reasoning behind that: do you
>why DF=0 is a GCC requirement? I mean, nothing hurts GCC from issuing a
>CLD each time?

Sent from my mobile phone. Please excuse brevity and lack of formatting.

 \ /
  Last update: 2013-02-10 16:41    [W:0.036 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site