Commit 16bc07ac authored by Matt Arsenault's avatar Matt Arsenault
Browse files

AMDGPU: Select f64 fmul by negative power of 2 to ldexp

Select fmul x, -K -> ldexp(-x, log2(fabsK))
Select fmul fabs(x), -K -> ldexp(-|x|, log2(fabsK))

https://reviews.llvm.org/D158173
parent 4c4ff503
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment