expmed.c (expand_sdiv_pow2): New function to expand signed division by a positive power of two...
* expmed.c (expand_sdiv_pow2): New function to expand signed division by a positive power of two, split out from expand_divmod. Provide an alternate implementation when shifts are expensive. Lower the threshold for using a branchless implementation to BRANCH_COST >= 2. (expand_divmod): Call expand_sdiv_pow2 for suitable divisions. From-SVN: r84686
Showing
Please
register
or
sign in
to comment