-
[SubZero] Use DIV instruction instead of TargetHelperCall · cc6dea76Jaydeep Patil authored
Use DIV/DIVU instructions provided by MIPS32 ISA instead of calling target helper function (__divsi3 etc.). These instructions give 32-bit quotient and remainder in 32-bit special LO/HI registers respectively. An additional instructions to check for divide-by-zero (Trap if equal) is emitted after the DIV/DIVU instructions. R=stichnot@chromium.org Review URL: https://codereview.chromium.org/2339323004 . Patch from Jaydeep Patil <jaydeep.patil@imgtec.com>.
cc6dea76
×