re PR target/69459 (wrong code with -O2 and vector arithmetics @ x86_64)
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 28 Jan 2016 22:32:47 +0000 (23:32 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 28 Jan 2016 22:32:47 +0000 (23:32 +0100)
commitaec0b19e79f2b4b189b8d00a1f84d74cd91f460b
tree014ae95c4d34e8f9325602be48c7e91fc8faaf3f
parentdf113ce7de77eba567568d47c0d0e3d5ebd98559
re PR target/69459 (wrong code with -O2 and vector arithmetics @ x86_64)

PR target/69459
* config/i386/constraints.md (C): Only accept constant zero operand.
(BC): New constraint.
* config/i386/sse.md (*mov<mode>_internal): Use BC constraint
instead of C constraint.
* doc/md.texi (Machine Constraints): Update description
of C constraint.

testsuite/ChangeLog:

PR target/69459
* gcc.target/i386/pr69459.c: New test.

From-SVN: r232955
gcc/ChangeLog
gcc/config/i386/constraints.md
gcc/config/i386/sse.md
gcc/doc/md.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr69459.c [new file with mode: 0644]