summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-09-24 21:39:31 +0000
committerdim <dim@FreeBSD.org>2015-09-24 21:39:31 +0000
commit86e5497c676342d8d53c9f1035bc44653cab1fee (patch)
tree63f5d07490c6d6b77145ab61263d8e05847ad027 /lib
parenta16871dddc15a603633dacce3ae4cd7c3e991ab7 (diff)
downloadFreeBSD-src-86e5497c676342d8d53c9f1035bc44653cab1fee.zip
FreeBSD-src-86e5497c676342d8d53c9f1035bc44653cab1fee.tar.gz
Revert r286421, now that the fix for LLVM PR24343 is in.
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/src/e_pow.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/msun/src/e_pow.c b/lib/msun/src/e_pow.c
index 66480d1..d54af9d 100644
--- a/lib/msun/src/e_pow.c
+++ b/lib/msun/src/e_pow.c
@@ -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 */
OpenPOWER on IntegriCloud