This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.25-250-g1e1f44d
- From: rth at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Apr 2017 13:42:53 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.25-250-g1e1f44d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 1e1f44de64d12a9539155665cd0aedee7909b00d (commit)
from 9fe3c80c7c3dbce34dadc7f0693d211fdd9a0b03 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1e1f44de64d12a9539155665cd0aedee7909b00d
commit 1e1f44de64d12a9539155665cd0aedee7909b00d
Author: Uros Bizjak <ubizjak@gmail.com>
Date: Fri Apr 14 14:30:57 2017 +0200
Add earlyclobber to sqrtt/sqrtf insns.
When using software completions, we have to prevent assembler to match
input and output operands of sqrtt/sqrtf insn. Add earlyclobber to
output operand to avoid unwanted operand matching.
2017-04-14 Uros Bizjak <ubizjak@gmail.com>
* sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
earlyclobber to output operand of sqrt insn.
(__ieee754_sqrtf): Ditto.
diff --git a/ChangeLog b/ChangeLog
index 8867578..042262e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-25 Uros Bizjak <ubizjak@gmail.com>
+
+ * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
+ earlyclobber to output operand of sqrt insn.
+ (__ieee754_sqrtf): Ditto.
+
2017-04-25 Joseph Myers <joseph@codesourcery.com>
[BZ #21426]
diff --git a/sysdeps/alpha/fpu/math_private.h b/sysdeps/alpha/fpu/math_private.h
index 9e06e25..1e97c86 100644
--- a/sysdeps/alpha/fpu/math_private.h
+++ b/sysdeps/alpha/fpu/math_private.h
@@ -27,9 +27,9 @@ __ieee754_sqrt (double d)
{
double ret;
# ifdef _IEEE_FP_INEXACT
- asm ("sqrtt/suid %1,%0" : "=f"(ret) : "f"(d));
+ asm ("sqrtt/suid %1,%0" : "=&f"(ret) : "f"(d));
# else
- asm ("sqrtt/sud %1,%0" : "=f"(ret) : "f"(d));
+ asm ("sqrtt/sud %1,%0" : "=&f"(ret) : "f"(d));
# endif
return ret;
}
@@ -39,9 +39,9 @@ __ieee754_sqrtf (float d)
{
float ret;
# ifdef _IEEE_FP_INEXACT
- asm ("sqrts/suid %1,%0" : "=f"(ret) : "f"(d));
+ asm ("sqrts/suid %1,%0" : "=&f"(ret) : "f"(d));
# else
- asm ("sqrts/sud %1,%0" : "=f"(ret) : "f"(d));
+ asm ("sqrts/sud %1,%0" : "=&f"(ret) : "f"(d));
# endif
return ret;
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/alpha/fpu/math_private.h | 8 ++++----
2 files changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources