lkml.org 
[lkml]   [2008]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: questions about rd{msr|tsc|pmc} instruction with x86-64
On Thu, Oct 16, 2008 at 2:39 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> Jike Song wrote:
>> {snip}
>
> "A" means rdx:rax on x86-64, not edx:eax. For a 64-bit number, it means,
> literally, "one of rdx or rax"! As you correctly point out, this is not how
> rdmsr works.
>
> -hpa
>

Thanks, Peter! So I misunderstood the gcc constraint 'A' for x86-64,
but seems the comment "while x86_64 returns at rax" still wrong,
should this be fixed?

--
Thanks,
Jike


\
 
 \ /
  Last update: 2008-10-16 18:33    [W:0.067 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site