Description[SubZero] Use DIV instruction instead of TargetHelperCall
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
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=cc6dea76a7f31c89746c1dfcca827ad07d83d2b1
Patch Set 1 #
Total comments: 6
Patch Set 2 : Alphabetize #
Total comments: 8
Patch Set 3 : Addressed review comments #
Messages
Total messages: 13 (4 generated)
|