LKML Archive on
help / color / mirror / Atom feed
From: "Jike Song" <>
To: "H. Peter Anvin" <>
Subject: Re: questions about rd{msr|tsc|pmc} instruction with x86-64
Date: Fri, 17 Oct 2008 00:31:18 +0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, Oct 16, 2008 at 2:39 PM, H. Peter Anvin <> 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?


  reply	other threads:[~2008-10-16 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  6:30 Jike Song
2008-10-16  6:39 ` H. Peter Anvin
2008-10-16 16:31   ` Jike Song [this message]
     [not found]     ` <>
2008-10-17  5:25       ` Jike Song
2008-10-20 13:47         ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: questions about rd{msr|tsc|pmc} instruction with x86-64' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).