lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 17 Oct 2008 00:31:18 +0800
From:	"Jike Song" <albcamus@...il.com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	gcosta@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: questions about rd{msr|tsc|pmc} instruction with x86-64

On Thu, Oct 16, 2008 at 2:39 PM, H. Peter Anvin <hpa@...or.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ