[SHELL-EXPERIMENTS]

* Sync up to trunk head (r64124).

svn path=/branches/shell-experiments/; revision=64126
This commit is contained in:
Amine Khaldi 2014-09-12 19:21:19 +00:00
commit 18a81d5d1e
480 changed files with 54949 additions and 9004 deletions

View file

@ -39,18 +39,10 @@ double ldexp (double value, int exp)
}
#ifdef __GNUC__
#if defined(__clang__)
asm ("fild %[exp]\n"
"fscale\n"
"fstp %%st(1)\n"
: [result] "=t" (result)
: [value] "0" (value), [exp] "m" (exp));
#else
asm ("fscale"
: "=t" (result)
: "0" (value), "u" ((double)exp)
: "1");
#endif
#else /* !__GNUC__ */
__asm
{