re PR target/54703 (_mm_sub_pd is incorrectly substituted with vandnps)
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Sep 2012 10:48:07 +0000 (12:48 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 27 Sep 2012 10:48:07 +0000 (12:48 +0200)
commit6b74529d9b26ae4d4fd0bdb96b9ce44c40738c9f
treea5150089f8e48540b0049e8de73fc0d5117fbf56
parente481cda684ff01bab0d4c1d3813dbfc92557182e
re PR target/54703 (_mm_sub_pd is incorrectly substituted with vandnps)

PR target/54703
* simplify-rtx.c (simplify_binary_operation_1): Perform
(x - (x & y)) -> (x & ~y) optimization only for integral
modes.

* gcc.target/i386/pr54703.c: New test.

From-SVN: r191801
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr54703.c [new file with mode: 0644]