Add support for missing macros for [d]div[u],[d]rem[u]
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The code for div and rem should be almost identical (one uses mflo, the other mfhi). Could you fold the duplicate implementations together?
Also, could you separate out the addition of the immediate cases from the addition of rem? Doing this in two patches will make it a bit easier to review.
Comment Actions
This patch is split into three separate patches, and is now abandoned. Related patches:
http://reviews.llvm.org/D16888
http://reviews.llvm.org/D16889
http://reviews.llvm.org/D17036