Displaying 3 results from an estimated 3 matches for "uarr".
Did you mean:
arr
2007 Aug 22
1
[LLVMdev] Problems building llvm-gcc-4.2 on ppc32, OS X 10.4.10
...1. You might need the following patch for FP constants to work properly:
diff --git a/gcc/llvm-convert.cpp b/gcc/llvm-convert.cpp
index 4c9c8d0..db8c6ba 100644
--- a/gcc/llvm-convert.cpp
+++ b/gcc/llvm-convert.cpp
@@ -5157,11 +5157,6 @@ Constant
*TreeConstantToLLVM::ConvertREAL_CST(tree exp) {
UArr[0] = RealArr[0]; // Long -> int convert
UArr[1] = RealArr[1];
- // FIXME: verify on big-endian targets and cross from big- to little-
endian
- // targets
- if (FLOAT_WORDS_BIG_ENDIAN)
- std::swap(UArr[0], UArr[1]);
-
return ConstantFP::get(Ty, V);
}
This is known problem. Cross...
2007 Oct 22
0
[LLVMdev] troubles with llvm-gcc 4.0 and APFloat on X86_64
...'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]);
return ConstantFP::get(Ty, Ty==Type::FloatTy ? APFloat((float)V)
Dietmar Ebner wrote:
>...
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