ROCm / llvm-project

This is the AMD-maintained fork of the LLVM git repository. This repository accepts pull requests and issues related to AMD fork-specific topics (amd/*). For all other issues/PRs, please submit upstream at https://github.com/llvm/llvm-project.
Other
113 stars 55 forks source link

IEEE 754 rounding modes #73

Open jglaser opened 4 years ago

jglaser commented 4 years ago

I noticed that __fsub_add_ru and friends are not supported in HIP, because they were disabled in the device-lib a while ago. What would it take to re-enable IEEE 754 rounding modes (up/down) for single precision floats again?

b-sumner commented 4 years ago

To start with, a lot of work on LLVM whose IR cannot currently describe non-default-rounded operations. Then additional work on the AMDGPU target to support the updated IR.

b-sumner commented 5 months ago

We could enable some now, but unfortunately not all. Which ones are the most important?