DescriptionImplement fast code for the common cases of left hand sides that are less than three times larger as the right hand side and and right hand sides that are powers of two up and including 32.
In the covered special cases the result is computed directly, else the generic stub is called. The implementation deoptimizes only for mod 0 and if the result may be a negative zero.
BUG=none
TEST=none
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix negative case and power of two case. #Patch Set 3 : Correct bug and add comment. #Messages
Total messages: 4 (0 generated)
|