diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-07-14 13:50:39 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-07-14 13:50:39 +0000 |
commit | 39cab01994f20e38587d0ef91c9c87f2ef537078 (patch) | |
tree | 5a6881133339e9a39477c6b3d100490239e9ccf2 /libjava/testsuite/libjava.lang/anonarray.java | |
parent | 51a61243e79e7be0543afc0cf1ac7db67a39ce5a (diff) | |
download | gcc-39cab01994f20e38587d0ef91c9c87f2ef537078.zip gcc-39cab01994f20e38587d0ef91c9c87f2ef537078.tar.gz gcc-39cab01994f20e38587d0ef91c9c87f2ef537078.tar.bz2 |
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
Diffstat (limited to 'libjava/testsuite/libjava.lang/anonarray.java')
0 files changed, 0 insertions, 0 deletions