2012-09-26 Christophe Lyon <christophe.lyon@linaro.org>
commitf811051bf87b1de7804c19c8192d0d099d157145
authorclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2012 13:42:47 +0000 (26 13:42 +0000)
committerclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2012 13:42:47 +0000 (26 13:42 +0000)
tree5de5ececa60b97c5b81f927d45e3dbbf008c91e5
parent567510a28cdfeea8e43b8e5d6b72da1abe10c7c3
2012-09-26  Christophe Lyon <christophe.lyon@linaro.org>

gcc/
* tree-ssa-math-opts.c (bswap_stats): Add found_16bit field.
(execute_optimize_bswap): Add support for builtin_bswap16.

gcc/testsuite/
* gcc.target/arm/builtin-bswap16-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191760 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/builtin-bswap16-1.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c