soft-fp: Fix alpha kernel build problem

* soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
This commit is contained in:
Richard Henderson 2015-05-19 11:23:56 -07:00
parent 1c5df81615
commit 85bae5a160
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2015-05-19 Richard Henderson <rth@redhat.com>
* soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
* sysdeps/alpha/fpu/libm-test-ulps: Update.
2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>

View File

@ -1794,12 +1794,11 @@
__label__ pack_semiraw; \
if (r) \
{ \
rtype _FP_FROM_INT_ur; \
rtype _FP_FROM_INT_ur = (r); \
\
if ((X##_s = ((r) < 0))) \
(r) = -(rtype) (r); \
_FP_FROM_INT_ur = -_FP_FROM_INT_ur; \
\
_FP_FROM_INT_ur = (rtype) (r); \
_FP_STATIC_ASSERT ((rsize) <= 2 * _FP_W_TYPE_SIZE, \
"rsize too large"); \
(void) (((rsize) <= _FP_W_TYPE_SIZE) \