]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-math-opts.c (bswap_stats): Add found_16bit field.
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 26 Sep 2012 13:42:47 +0000 (13:42 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Wed, 26 Sep 2012 13:42:47 +0000 (15:42 +0200)
commit1df855ce3547caa8bd375e53e5f2effac5472b43
tree5de5ececa60b97c5b81f927d45e3dbbf008c91e5
parenteeca434ab6eb48931800436e03f9c3e4a30a338f
tree-ssa-math-opts.c (bswap_stats): Add found_16bit field.

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.

From-SVN: r191760
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