Displaying 2 results from an estimated 2 matches for "hostfloatbigendian".
2007 Oct 22
0
[LLVMdev] troubles with llvm-gcc 4.0 and APFloat on X86_64
...cpp (working copy)
@@ -5581,15 +5581,15 @@
// getting the byte ordering correct and make sure you don't print any
// more than 32 bits per integer on platforms with ints > 32 bits.
//
- bool HostBigEndian = false;
-#ifdef HOST_WORDS_BIG_ENDIAN
- HostBigEndian = true;
+ bool HostFloatBigEndian = false;
+#ifdef HOST_FLOAT_WORDS_BIG_ENDIAN
+ HostFloatBigEndian = true;
#endif
UArr[0] = RealArr[0]; // Long -> int convert
UArr[1] = RealArr[1];
- if (WORDS_BIG_ENDIAN != HostBigEndian)
+ if (FLOAT_WORDS_BIG_ENDIAN != HostFloatBigEndian)
std::swap(UArr[0], UArr[1]);...
2007 Oct 20
2
[LLVMdev] troubles with llvm-gcc 4.0 and APFloat on X86_64
hi,
Dale Johannesen wrote:
> On Oct 19, 2007, at 7:23 AM, Dietmar Ebner wrote:
>> i'm trying to make some experiments with the ARM backend (llvm 2.1)
>> and
>> therefore built an arm-softfloat-linux-gnu toolchain on x86_64 linux.
>>
>> however, the llvm-gcc frontend seems to cause troubles with single
>> precision floating point values, i.e., they are