This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fold integer divisions to arithmetic shifts
- From: Richard Henderson <rth at redhat dot com>
- To: Dmitry Melnik <dm at ispras dot ru>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Oct 2010 09:19:27 -0700
- Subject: Re: [PATCH] Fold integer divisions to arithmetic shifts
- References: <4CB7289A.7080608@ispras.ru>
The patch looks good. I'd like to have a generic test for this.
You should be able to see the shift in the .optimized tree dump.
r~