re PR target/58762 ([missed optimization] Vectorizing abs(int).)
authorCong Hou <congh@google.com>
Wed, 30 Oct 2013 20:01:47 +0000 (16:01 -0400)
committerCong Hou <congh@gcc.gnu.org>
Wed, 30 Oct 2013 20:01:47 +0000 (16:01 -0400)
commit8f24613d021f267f24d39f51b5423c308060b42c
tree4d5c5a0a6bd64a5d027d233c09decc80c1aef2b4
parentafbb631e67b011f5d68dabf3f42bfca846f27fc1
re PR target/58762 ([missed optimization] Vectorizing abs(int).)

2013-10-30  Cong Hou  <congh@google.com>

    PR target/58762
    * config/i386/i386-protos.h (ix86_expand_sse2_abs): New function.
    * config/i386/i386.c (ix86_expand_sse2_abs): New function.
    * config/i386/sse.md: Add SSE2 support to abs (8/16/32-bit-int).

2013-10-30  Cong Hou  <congh@google.com>

    * gcc.target/i386/vect-abs-s8.c: New test.
    * gcc.target/i386/vect-abs-s16.c: New test.
    * gcc.target/i386/vect-abs-s32.c: New test.

From-SVN: r204229
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/vect-abs-s16.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/vect-abs-s32.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/vect-abs-s8.c [new file with mode: 0644]