Displaying 4 results from an estimated 4 matches for "nativefp".
Did you mean:
native
2013 Apr 26
0
[LLVMdev] ConstantFoldBinaryFP and cross compilation
Dan, and anyone else interested.
I am not sure if this has been discussed before, but I do have a case when
the following logic fails to work:
lib/Analysis/ConstantFolding.cpp
static Constant *ConstantFoldBinaryFP(double (*NativeFP)(double, double),
double V, double W, Type *Ty) {
sys::llvm_fenv_clearexcept();
V = NativeFP(V, W);
if (sys::llvm_fenv_testexcept()) {
sys::llvm_fenv_clearexcept();
return 0;
}
..
This fragment seems to assumes that host and targe...
2013 Apr 26
2
[LLVMdev] ConstantFoldBinaryFP and cross compilation
...interested… ****
>
> ** **
>
> I am not sure if this has been discussed before, but I do have a case
> when the following logic fails to work:****
>
> ** **
>
> lib/Analysis/ConstantFolding.cpp****
>
> ** **
>
> static Constant *ConstantFoldBinaryFP(double (*NativeFP)(double, double),*
> ***
>
> double V, double W, Type *Ty) {****
>
> sys::llvm_fenv_clearexcept();****
>
> V = NativeFP(V, W);****
>
> if (sys::llvm_fenv_testexcept()) {****
>
> sys::llvm_fenv_clearexcept();****
>
&...
2013 Apr 25
6
[LLVMdev] Proposal for new Legalization framework
On Wed, Apr 24, 2013 at 5:26 PM, Chris Lattner <clattner at apple.com> wrote:
> On Apr 24, 2013, at 5:01 PM, Dan Gohman <dan433584 at gmail.com> wrote:
> > In the spirit of the (long-term) intent to migrate away from the
> SelectionDAG framework, it is desirable to implement legalization passes as
> discrete passes. Attached is a patch which implements the beginning of
2013 Apr 26
0
[LLVMdev] ConstantFoldBinaryFP and cross compilation
...:44 PM, Sergei Larin <slarin at codeaurora.org>
wrote:
Dan, and anyone else interested.
I am not sure if this has been discussed before, but I do have a case when
the following logic fails to work:
lib/Analysis/ConstantFolding.cpp
static Constant *ConstantFoldBinaryFP(double (*NativeFP)(double, double),
double V, double W, Type *Ty) {
sys::llvm_fenv_clearexcept();
V = NativeFP(V, W);
if (sys::llvm_fenv_testexcept()) {
sys::llvm_fenv_clearexcept();
return 0;
}
..
This fragment seems to assumes that host and targe...