[PATCH] D27472: [builtin] Add Thumb1 implementation for idivsi3 and aeabi_idivmod

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 09:18:14 PST 2016


compnerd accepted this revision.
compnerd added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/builtins/arm/aeabi_idivmod.S:29
+        pop     {r1, r2, r3} // now r0 = quot, r1 = num, r2 = denom
+        muls    r2, r2, r0 // r2 = quot * denom
+        subs    r1, r1, r2
----------------
Please line up the trailing comments.


https://reviews.llvm.org/D27472





More information about the llvm-commits mailing list