This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improve folding of bitwise ops feeding conditionals for single bit types
- From: Andreas Schwab <schwab at suse dot de>
- To: Jeff Law <law at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Jun 2013 12:49:27 +0200
- Subject: Re: [PATCH] Improve folding of bitwise ops feeding conditionals for single bit types
- References: <51C12EC5 dot 709 at redhat dot com>
Jeff Law <law@redhat.com> writes:
> +/* { dg-final { scan-tree-dump-times "Replaced" 8 "forwprop1"} } */
$ grep -c Replaced forwprop-28.c.022t.forwprop1
16
;; Function test (test, funcdef_no=0, decl_uid=1388, symbol_order=0)
Replaced 'rotate_7 == 0' with '_6 == 0'
Replaced '_6 == 0' with 'code_5(D) != 22'
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."