svn commit: r288196 - projects/clang370-import/lib/msun/src

Dimitry Andric dim at FreeBSD.org
Thu Sep 24 21:39:33 UTC 2015


Author: dim
Date: Thu Sep 24 21:39:31 2015
New Revision: 288196
URL: https://svnweb.freebsd.org/changeset/base/288196

Log:
  Revert r286421, now that the fix for LLVM PR24343 is in.

Modified:
  projects/clang370-import/lib/msun/src/e_pow.c

Modified: projects/clang370-import/lib/msun/src/e_pow.c
==============================================================================
--- projects/clang370-import/lib/msun/src/e_pow.c	Thu Sep 24 21:20:00 2015	(r288195)
+++ projects/clang370-import/lib/msun/src/e_pow.c	Thu Sep 24 21:39:31 2015	(r288196)
@@ -162,13 +162,7 @@ __ieee754_pow(double x, double y)
 	if(lx==0) {
 	    if(ix==0x7ff00000||ix==0||ix==0x3ff00000){
 		z = ax;			/*x is +-0,+-inf,+-1*/
-		if(hy<0) {
-#ifdef __i386__
-		    /* XXX: Work around llvm PR 24343: */
-		    __compiler_membar();
-#endif
-		    z = one/z;	/* z = (1/|x|) */
-		}
+		if(hy<0) z = one/z;	/* z = (1/|x|) */
 		if(hx<0) {
 		    if(((ix-0x3ff00000)|yisint)==0) {
 			z = (z-z)/(z-z); /* (-1)**non-int is NaN */


More information about the svn-src-projects mailing list