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] [day] [month] [year] [list]
Date:	Thu, 29 Nov 2012 14:28:10 -0800
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Andi Kleen <andi@...stfloor.org>
CC:	Jim Kukunas <james.t.kukunas@...ux.intel.com>,
	Linux Raid <linux-raid@...r.kernel.org>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	Neil Brown <neilb@...e.de>
Subject: Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

On 11/29/2012 01:18 PM, Andi Kleen wrote:
> 
>> Either way, this implementatin technique was used for the MMX/SSE
>> implementations without any problems for 9 years now.
> 
> It's still wrong.
> 
> Lying to the compiler usually bites you at some point.
> 

It's not lying to the compiler.  It is telling the compiler "do
something that you have no way of knowing about".

It would be lying to the compiler if the compiler was allowed to touch
the FPU state, but it's not.

	-hpa


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