Displaying 20 results from an estimated 86 matches for "fmf".
Did you mean:
ff
2016 Nov 16
3
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...Thanks for the quick feedback. I see your points, but I have a few questions/comments. I'll start at the end of the previous post:
> ...
> I think these are valuable problems to solve, but you should tackle them piece by piece:
>
> 1) the clang part of overriding the individual FMF and emitting the right IR is the first thing to fix.
> 2) the backend is still using the global UnsafeFPMath and it should be killed.
I addressed this point (2) for the reciprocal aspect in the patch, but of course that wasn't useful without doing something about (1).
Regarding (1), over a...
2012 Nov 16
0
[LLVMdev] [llvm-commits] [PATCH] fast-math patches!
Michael,
Overall the code looks good.
80-cols:
2046 FMF.UnsafeAlgebra = 0 != (Record[OpNum] & (1 << bitc::FMF_UNSAFE_ALGEBRA));
2047 FMF.NoNaNs = 0 != (Record[OpNum] & (1 << bitc::FMF_NO_NANS));
2048 FMF.NoInfs = 0 != (Record[OpNum] & (1 << bitc::FMF_NO_INFS));
2049 FMF.NoSi...
2016 Nov 17
4
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...Thanks for the quick feedback. I see your points, but I have a few questions/comments. I'll start at the end of the previous post:
> ...
> I think these are valuable problems to solve, but you should tackle them piece by piece:
>
> 1) the clang part of overriding the individual FMF and emitting the right IR is the first thing to fix.
> 2) the backend is still using the global UnsafeFPMath and it should be killed.
I addressed this point (2) for the reciprocal aspect in the patch, but of course that wasn't useful without doing something about (1).
Regarding (1), over a...
2019 Mar 18
3
[RFC] Making space for a flush-to-zero flag in FastMathFlags
We knew the day when we needed another FMF bit was coming back in:
https://reviews.llvm.org/D39304
...it was just a question of 'when'. :)
I'm guessing that an FTZ bit won't be the last new bit needed if we
consider permutations between strict FP and fast-math. Even without that,
denormals-as-zero (DAZ) might also be useful...
2017 Mar 15
3
[cfe-dev] [RFC] FP Contract = fast?
...>>>>>>
>>>>>
>>>>> A function attribute would be a strict improvement over today: LLVM can’t do contraction today. But actually I’m not sure if it is the long term right choice: attributes don’t combine well with inlining for instance. You mentioned FMF earlier, why don’t we have a FMF to allow contraction?
>>>>
>>>> OK, I thought that the prerequisite for that was a fast-math pragma which I don’t think is something we have (I want to be able to specify contract=fast on smaller granularity than module). But now that I thi...
2017 Mar 16
2
[cfe-dev] [RFC] FP Contract = fast?
...would be a strict improvement over today:
>>>>>>> LLVM can’t do contraction today. But actually I’m not sure if it
>>>>>>> is the long term right choice: attributes don’t combine well
>>>>>>> with inlining for instance. You mentioned FMF earlier, why don’t
>>>>>>> we have a FMF to allow contraction?
>>>>>>
>>>>>> OK, I thought that the prerequisite for that was a fast-math
>>>>>> pragma which I don’t think is something we have (I want to be
>>>&g...
2017 Mar 16
2
[cfe-dev] [RFC] FP Contract = fast?
...t;>>>>>>>
>>>>>>>>> A function attribute would be a strict improvement over today: LLVM can’t do contraction today. But actually I’m not sure if it is the long term right choice: attributes don’t combine well with inlining for instance. You mentioned FMF earlier, why don’t we have a FMF to allow contraction?
>>>>>>>>
>>>>>>>> OK, I thought that the prerequisite for that was a fast-math pragma which I don’t think is something we have (I want to be able to specify contract=fast on smaller granularity t...
2016 Nov 17
2
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...back. I see your points, but I have a few questions/comments. I'll start at the end of the previous post:
>
> > ...
> > I think these are valuable problems to solve, but you should tackle them piece by piece:
> >
> > 1) the clang part of overriding the individual FMF and emitting the right IR is the first thing to fix.
> > 2) the backend is still using the global UnsafeFPMath and it should be killed.
>
> I addressed this point (2) for the reciprocal aspect in the patch, but of course that wasn't useful without doing something about (1).
>...
2017 Mar 15
2
[cfe-dev] [RFC] FP Contract = fast?
...hich should fix this.
>>
>> Great!
>>
>
> A function attribute would be a strict improvement over today: LLVM can’t do contraction today. But actually I’m not sure if it is the long term right choice: attributes don’t combine well with inlining for instance. You mentioned FMF earlier, why don’t we have a FMF to allow contraction?
OK, I thought that the prerequisite for that was a fast-math pragma which I don’t think is something we have (I want to be able to specify contract=fast on smaller granularity than module). But now that I think more about, we should be able t...
2017 Mar 15
2
[cfe-dev] [RFC] FP Contract = fast?
...>>>> Great!
>>>>
>>>
>>> A function attribute would be a strict improvement over today: LLVM can’t do contraction today. But actually I’m not sure if it is the long term right choice: attributes don’t combine well with inlining for instance. You mentioned FMF earlier, why don’t we have a FMF to allow contraction?
>>
>> OK, I thought that the prerequisite for that was a fast-math pragma which I don’t think is something we have (I want to be able to specify contract=fast on smaller granularity than module). But now that I think more about, w...
2012 Nov 16
2
[LLVMdev] [llvm-commits] [PATCH] fast-math patches!
Another round of improved patches, and a patch for documentation changes to LangRef.
* Make comments more up to date
* Use 'arcp' instead of 'ar'
* Use logical ||
Still based off of r168110
On Nov 15, 2012, at 3:31 PM, Michael Ilseman <milseman at apple.com> wrote:
>
> On Nov 15, 2012, at 3:23 PM, Joe Abbey <joe.abbey at gmail.com> wrote:
>
2003 Feb 21
2
GARCH with t-innovations
Dear all,
Can garch function fit also t-innovations or only Gaussian innovations?
--
With kind regards -- Lepo pozdravljeni -- Gr??e (Gr?ezi) --
Gorazd Brumen
-------------------------------
Mail 1: gbrumen at student.ethz.ch
Mail 2: gorazd.brumen at fmf.uni-lj.si
Tel.: +41 (0)1 63 34906
Homepage: valjhun.fmf.uni-lj.si/~brumen
2016 Nov 17
4
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...back. I see your points, but I have a few questions/comments. I'll start at the end of the previous post:
>
> > ...
> > I think these are valuable problems to solve, but you should tackle them piece by piece:
> >
> > 1) the clang part of overriding the individual FMF and emitting the right IR is the first thing to fix.
> > 2) the backend is still using the global UnsafeFPMath and it should be killed.
>
> I addressed this point (2) for the reciprocal aspect in the patch, but of course that wasn't useful without doing something about (1).
>...
2017 Sep 30
3
Trouble when suppressing a portion of fast-math-transformations
Hi Hal,
>> 4. To fix this, I think that additional fast-math-flags are likely
>> needed in the IR. Instead of the following set:
>>
>> 'nnan' + 'ninf' + 'nsz' + 'arcp' + 'contract'
>>
>> something like this:
>>
>> 'reassoc' + 'libm' + 'nnan' + 'ninf' + 'nsz' +
2019 Mar 16
3
[RFC] Making space for a flush-to-zero flag in FastMathFlags
Hi,
I need to add a flush-denormals-to-zero (FTZ) flag to FastMathFlags,
but we've already used up the 7 bits available in
Value::SubclassOptionalData (the "backing storage" for
FPMathOperator::getFastMathFlags()). These are the possibilities I
can think of:
1. Increase the size of FPMathOperator. This gives us some additional
bits for FTZ and other fastmath flags we'd want
2016 Nov 17
3
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...Thanks for the quick feedback. I see your points, but I have a few questions/comments. I'll start at the end of the previous post:
> ...
> I think these are valuable problems to solve, but you should tackle them piece by piece:
>
> 1) the clang part of overriding the individual FMF and emitting the right IR is the first thing to fix.
> 2) the backend is still using the global UnsafeFPMath and it should be killed.
I addressed this point (2) for the reciprocal aspect in the patch, but of course that wasn't useful without doing something about (1).
Regarding (1), over a...
2017 Mar 15
2
[cfe-dev] [RFC] FP Contract = fast?
On 03/15/2017 12:10 PM, Adam Nemet via llvm-dev wrote:
> Relevant to this discussion is
> http://bugs.llvm.org/show_bug.cgi?id=25721 (-ffp-contract=fast does
> not work with LTO). I am working on adding function attributes for
> fp-contract=fast which should fix this.
Great!
>
> Also now that we have backend optimization remarks, I am planning to
> report missed
2016 Nov 16
3
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
Hi all,
This is about https://reviews.llvm.org/D26708
Currently when the command-line switch '-ffast-math' is specified, the
IR-level fast-math-flag 'fast' gets attached to appropriate FP math
instructions. That flag acts as an "umbrella" to implicitly turn on all the
other fast-math-flags ('nnan', 'ninf', 'nsz' and 'arcp'):
2016 Nov 18
2
what does -ffp-contract=fast allow?
...s no
> instruction-level or function-level attribute/metadata for FMA-ness:
> https://llvm.org/bugs/show_bug.cgi?id=25721
Interesting; we should at least have a function-attribute for this that Clang uses.
Thanks again,
Hal
> To tie this back to the earlier thread about changes to IR FMF, the
> possibility of adding FMA bits to FMF (as well as storing all FMF in
> metadata) was discussed here:
> https://llvm.org/bugs/show_bug.cgi?id=13118
> 3. The backend needs a thread of its own. We have at least these
> mechanisms to handle FMA codegen:
> a. TargetOptions for...
2017 Oct 03
2
Trouble when suppressing a portion of fast-math-transformations
On 10/01/2017 06:05 PM, Sanjay Patel wrote:
> Are we confident that we just need those 7 bits to represent all of
> the relaxed FP states that we need/want to support?
>
> I'm asking because FMF in IR is currently mapped onto the
> SubclassOptionalData of Value...and we have exactly 7 bits there. :)
>
> If we're redoing the definitions, I'm wondering if we can share the
> struct with the backend's SDNodeFlags, but that already has one extra
> bit for vector re...