* expmed.c (expand_smod_pow2): New function to expand signed
commit41323e11b0cef75e30e4d3791b1028d13e6a87c5
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Jun 2004 20:49:37 +0000 (28 20:49 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Jun 2004 20:49:37 +0000 (28 20:49 +0000)
tree20aed07aae396652217e2491603ed7111c8fbe05
parenta542e26e070e6c0c52a0cedd1c018ab5ded69ce0
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83815 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expmed.c