expmed.c (sdiv_pow2_cheap, [...]): Change type to bool.
authorRoger Sayle <roger@eyesopen.com>
Mon, 9 Aug 2004 22:36:39 +0000 (22:36 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 9 Aug 2004 22:36:39 +0000 (22:36 +0000)
commitfdded40102ee40d7acbcb6bc2518e5ec14245688
treef2d96387c14f84dfdf8d12ed5292bcb427a0fa5a
parentfeb21f0d146b949153c91d6a800f5707b0da516d
expmed.c (sdiv_pow2_cheap, [...]): Change type to bool.

* expmed.c (sdiv_pow2_cheap, smod_pow2_cheap): Change type to bool.
(init_expmed): Fix potential overrun problem with "all.reg".
(expand_sdiv2_pow2): Add an alternate implementation for signed
division, if the target provides a suitable conditional move insn.

From-SVN: r85728
gcc/ChangeLog
gcc/expmed.c