fix exp in --math-mode=fast#41600
Conversation
don't rely on `muladd` fusing.
|
Merging soon if there are no objections. |
|
Would be good to get a review? |
|
probably |
|
I don't think we really should be designing for |
|
This is actually fixing a broader issue that I had incorrectly assumed |
|
It appears to still fail tests on all platforms, so there is some work left When you say "assumed to be fma" do you mean we should have actually called the |
|
so I was using an |
|
To be clear, this problem is not directly caused by |
|
What about Lines 404 to 406 in 2893de7 |
|
I just realized that the problem here wasn't muladd not folding, but fastmath making an assumption that |
don't rely on
muladdfusing. Performance impact is minimal (max 1 cycle regression)Closes #41592