Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 08:09:48 +0100
From:      Mark R V Murray <mark@grondar.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org, Mark Murray <markm@FreeBSD.org>
Subject:   Re: svn commit: r256042 - in projects/random_number_generator: share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/...
Message-ID:  <BD962DAD-3105-4C1A-8509-64ED26F09D81@grondar.org>
In-Reply-To: <20131004070521.GQ41229@kib.kiev.ua>
References:  <201310040655.r946t6ZR038091@svn.freebsd.org> <20131004070521.GQ41229@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_1A54BCC0-EDD5-426C-9056-E9C393791DA2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 4 Oct 2013, at 08:05, Konstantin Belousov <kostikbel@gmail.com> =
wrote:

> On Fri, Oct 04, 2013 at 06:55:06AM +0000, Mark Murray wrote:
>> #ifdef __amd64__
>> -	    ".byte\t0x48,0x0f,0xc7,0xf0\n\t" /* rdrand %rax */
>> +	    "rdrand\t%%rax\n\t"
>> 	    "jnc\t1f\n\t"
>> 	    "movq\t%%rax,%1\n\t"
>> 	    "movl\t$8,%%eax\n"
>> #else /* i386 */
>> -	    ".byte\t0x0f,0xc7,0xf0\n\t" /* rdrand %eax */
>> +	    "rdrand\t%%eax\n\t"
>> 	    "jnc\t1f\n\t"
>> 	    "movl\t%%eax,%1\n\t"
>> 	    "movl\t$4,%%eax\n"
> This should break the build with the in-tree binutils, i.e. when gcc
> is used.  The same for the chunks of the VIA asm.

This is likely a case of me getting it wrong, but I thought we were =
headed away from worrying about that? Or is that only in 11-current? If =
so I'll revert that bit.

M
--=20
Mark R V Murray


--Apple-Mail=_1A54BCC0-EDD5-426C-9056-E9C393791DA2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQCVAwUBUk5pvN58vKOKE6LNAQqnRAP9HNltKYLOwXkN1UWsR7/CGhlnh2nvUmAD
BWll+Xmv8DlV930MpJUfYp2AVp9Bbxzi3/xpAHjIk9RpeHclGBRJLisJoDenW2T4
/EQ3gombgahuyAncchDf8QsRSubEghszsHb1slHVaVCWzF657/hTh0Y9y4QwBlky
VnO8XZyBXlE=
=wR3E
-----END PGP SIGNATURE-----

--Apple-Mail=_1A54BCC0-EDD5-426C-9056-E9C393791DA2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BD962DAD-3105-4C1A-8509-64ED26F09D81>