expmed.c (expand_smod_pow2): New function to expand signed remainder by a constant...
authorRoger Sayle <roger@eyesopen.com>
Mon, 28 Jun 2004 20:49:37 +0000 (20:49 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 28 Jun 2004 20:49:37 +0000 (20:49 +0000)
commit0b55e9321430150f742bc7be3f7da16b1a3872d5
tree20aed07aae396652217e2491603ed7111c8fbe05
parent3b50d22e799b48d8ae4d6cc5ed7bbc9d4c0dc39f
expmed.c (expand_smod_pow2): New function to expand signed remainder by a constant power of 2, such as "x % 16".

* expmed.c (expand_smod_pow2): New function to expand signed
remainder by a constant power of 2, such as "x % 16".
(expand_divmod): Call new expand_smod_pow2 when appropriate.
Minor corrections to comments, e.g. wrapping long lines.

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