search for: gonsolo

Displaying 8 results from an estimated 8 matches for "gonsolo".

2007 Jun 16
2
[LLVMdev] Wrong tan
On Jun 16, 2007, at 12:35 AM, Duncan Sands wrote: >> Result compiled with llvm-g++ 2.0: >> tan float: -2.18504 >> tan double: 0.309336 > > This may be due to bug 1505. It fails on x86 using x87 floating point, with the inliner not run, because of 1505, yes. Gonsolo, is that your situation? (What happens is, there is a wrapper in the header file for std::tan (float), like this: inline float tan(float __x) { return __builtin_tanf(__x); } This wrapper is miscompiled due to 1505; when the inliner is run, no problem.) (But, when opt -std-compile-o...
2007 Jun 16
0
[LLVMdev] Wrong tan
...35 AM, Duncan Sands wrote: > >>> Result compiled with llvm-g++ 2.0: >>> tan float: -2.18504 >>> tan double: 0.309336 >> >> This may be due to bug 1505. > > It fails on x86 using x87 floating point, with the inliner not run, > because of 1505, yes. Gonsolo, is that your situation? > I tried a simple "llvm-g++ -o simple tan.bug.cc" Output: tan float: -2.18504 tan double: 0.309336 > (What happens is, there is a wrapper in the header file for std::tan(float), > like this: > > inline float > tan(float __x) > { retu...
2007 Jun 16
2
[LLVMdev] Wrong tan
...an double: " << result_b << std::endl; } <end tangens_bug.cc> Result compiled with g++ 4.1: tan float: 0.309336 tan double: 0.309336 Result compiled with llvm-g++ 2.0: tan float: -2.18504 tan double: 0.309336 Am I missing something or should I file a bug report? Thanks, Gonsolo
2010 Mar 03
0
[LLVMdev] [cfe-dev] Clang error
Hi, On 03/03/2010 12:23 PM, Gonsolo wrote: > I updated and it still fails. > Filed under http://llvm.org/bugs/show_bug.cgi?id=6475 Can you try LLVM r97474? r97475 enabled the new isel by default which started to crash our out-of-tree backend (we also use inline asm even in crt0()), maybe this is related. I've been tracking...
2007 Mar 15
1
[LLVMdev] JIT slow
Hi! It appeared to me that runFunction in JIT.cpp is slow for repeatedly executing the same function with nontrivial arguments since the "Stub" function in JiT.cpp:183 (LLVM 1.9) is compiled again and again. Is there something I can do to accelerate this? g
2007 Jun 16
0
[LLVMdev] Wrong tan
> Result compiled with llvm-g++ 2.0: > tan float: -2.18504 > tan double: 0.309336 This may be due to bug 1505. Ciao, Duncan.
2010 Mar 25
0
[LLVMdev] Strange Multiple Inheritance Errors Using LLVM 2.7
Hi. I had some problems with MI too. See bug 6251. g Am 25.03.2010 um 16:18 schrieb John Criswell <criswell at uiuc.edu>: > Dear All, > > I'm currently upgrading SAFECode to the LLVM 2.7 API. I'm getting > some > strange errors in LLVM Passes that use analysis groups and multiple > inheritance. > > To create analysis groups in LLVM 2.6, I would first
2010 Mar 25
4
[LLVMdev] Strange Multiple Inheritance Errors Using LLVM 2.7
Dear All, I'm currently upgrading SAFECode to the LLVM 2.7 API. I'm getting some strange errors in LLVM Passes that use analysis groups and multiple inheritance. To create analysis groups in LLVM 2.6, I would first create a base class for the analysis group and then another class that inherited from both ModulePass and the analysis group base class. That worked in LLVM 2.6, but