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
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