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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 10 Nov 2009 23:10:08 +0100
From:	Willy Tarreau <w@....eu>
To:	Matteo Croce <technoboy85@...il.com>
Cc:	Pavel Machek <pavel@....cz>, "H. Peter Anvin" <hpa@...or.com>,
	Avi Kivity <avi@...hat.com>,
	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Sven-Haegar Koch <haegar@...net.de>,
	Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org
Subject: Re: i686 quirk for AMD Geode

On Tue, Nov 10, 2009 at 11:01:26PM +0100, Matteo Croce wrote:
> On Tue, Nov 10, 2009 at 9:54 PM, Pavel Machek <pavel@....cz> wrote:
> > Hi!
> >
> >> Indeed, but there is a difference between [cmpxchg, bswap, cmov, nopl]
> >> on one side and [sse*] on the other : distros are built assuming the
> >> former are always available while they are not always. And the
> >> distro
> >
> > Well, fix the distros...
> 
> $ objdump -d libflashplayer.so |grep cmov -c
> 10

Good point !
Same here, only 2 of them won't work on C3 (the first ones) :

  7e3a7c:       0f 4d 45 c8             cmovge -0x38(%ebp),%eax
  7e3b4d:       0f 4d 45 c8             cmovge -0x38(%ebp),%eax
  7e97b3:       0f 4c c2                cmovl  %edx,%eax
  7e9823:       0f 4c c2                cmovl  %edx,%eax
  7eb884:       0f 4c c2                cmovl  %edx,%eax
  7eb91d:       0f 4c c2                cmovl  %edx,%eax
  8095d7:       0f 42 ca                cmovb  %edx,%ecx
  80997a:       0f 42 ca                cmovb  %edx,%ecx
  809a4a:       0f 42 ca                cmovb  %edx,%ecx
  80a5cb:       0f 42 ca                cmovb  %edx,%ecx

clearly worth emulating in my opinion.

Willy

--
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