This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20231] missed optimization of loop IV modulus
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2005 11:23:48 -0000
- Subject: [Bug tree-optimization/20231] missed optimization of loop IV modulus
- References: <20050227065340.20231.astrange@ithinksw.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2005-02-27 11:23 -------
Here's a paper about this if anybody wants to do this systematically:
Saman Amarasinghe, Walter Lee, Ben Greenwald.
Strength Reduction of Integer Division and Modulo Operations
LCPC 2001
http://www.lcs.mit.edu/publications/pubs/pdf/MIT-LCS-TM-600.pdf
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20231