This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I realized there was a memset missing for the statistics of nop OR bitwise expression. Please consider the attached patch instead. ChangeLog unchanged but reproduced here for convenience: *** gcc/ChangeLog *** 2014-05-04 Thomas Preud'homme <thomas.preudhomme@arm.com> PR tree-optimization/54733 * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure. (CMPNOP): Define. (find_bswap_load): Renamed to ... (find_bswap_or_nop_load): This. (find_bswap_1): Renamed to ... (find_bswap_or_nop_1): This. (find_bswap): Renamed to ... (find_bswap_or_nop): This. Also add detection of bitwise operations equivalent to load in host endianness. (bswap_replace): Likewise. (execute_optimize_bswap): Likewise. *** gcc/testsuite/ChangeLog *** 2014-05-04 Thomas Preud'homme <thomas.preudhomme@arm.com> PR tree-optimization/54733 * gcc.dg/optimize-bswapdi-3.c: Extend test to check detection of bitwise operation equivalent to load in host endianness. * gcc.dg/optimize-bswaphi-1.c: Likewise. * gcc.dg/optimize-bswapsi-2.c: Likewise. Best regards, Thomas
Attachment:
gcc32rm-84.5.2.part4.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |