Use C99 compatible ASM statements.
(untested, but existing state breaks http://triangle.rtp.freebsd.org/~des/tinderbox-CURRENT-amd64-amd64.brief)
This commit is contained in:
parent
3514f4bda7
commit
690b759d6f
@ -58,7 +58,7 @@ ldexp (double value, int exp)
|
|||||||
double temp, texp, temp2;
|
double temp, texp, temp2;
|
||||||
texp = exp;
|
texp = exp;
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
asm ("fscale "
|
__asm ("fscale "
|
||||||
: "=u" (temp2), "=t" (temp)
|
: "=u" (temp2), "=t" (temp)
|
||||||
: "0" (texp), "1" (value));
|
: "0" (texp), "1" (value));
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user