Skip to content
Commit 109efdff authored by Jan Vesely's avatar Jan Vesely
Browse files

R600: Implement custom SDIVREM.



Instead of separate SDIV/SREM. SDIV used UDIV which in turn used UDIVREM anyway.
SREM used SDIV(UDIV->UDIVREM)+MUL+SUB, using UDIVREM directly is more efficient.

v2: Don't use all caps names

Signed-off-by: default avatarJan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 211477
parent b3271405
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment