[llvm-commits] [llvm] r79677 - in /llvm/trunk: include/llvm/ADT/APFloat.h lib/Support/APFloat.cpp

Anton Korobeynikov asl at math.spbu.ru
Fri Aug 21 16:19:04 PDT 2009


Hello, Dale

> +  words[1] = ((uint64_t)(sign & 1) << 63) |
> +             ((myexponent & 0x7fff) << 48) |
> +             (mysignificand & 0xffffffffffffLL);
>
> Other than that the format appears to match my Sparc book, but I have
> no way to test, do you?
If I hack llvm-gcc to emit fp128 stuff, then it seems to emit proper
fp128 immediates, e.g,. 0xL3fff0000000000000000000000000000 for 1.0

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list