[llvm] [AMDGPU] Implement int div/rem by fp recip more efficiently (PR #204950)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 06:26:06 PDT 2026


jayfoad wrote:

> Incrementing `fa` by 1 ulp was exhaustively tested for all dividend and divisor combinations with values between [0x200000,0x1FFFFF] with no errors.

And are there cases where it fails if you test the next larger range -0x400000 to 0x3FFFFF ?

https://github.com/llvm/llvm-project/pull/204950


More information about the llvm-commits mailing list