re PR target/32661 (__builtin_ia32_vec_ext suboptimal for pointer/ref args)
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 28 Aug 2007 09:52:06 +0000 (11:52 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 28 Aug 2007 09:52:06 +0000 (11:52 +0200)
commit7f97f938a70df00a44ad2cadc2bc5381e7ea27fa
tree9fabd68cfa56fff4c597b8d11980be9b00eeff43
parent0b738568dad569012c12839d57721939ac8ef3f5
re PR target/32661 (__builtin_ia32_vec_ext suboptimal for pointer/ref args)

PR target/32661
* simplify-rtx.c (simplify_binary_operation_1) [VEC_SELECT]:
Simplify nested VEC_SELECT (with optional VEC_CONCAT operator as
operand) when top VEC_SELECT extracts scalar element.
* config/i386/sse.md (*vec_extract_v4si_mem): New.
(*vec_extract_v4sf_mem): Ditto.

testsuite/ChangeLog:

PR target/32661
* gcc.target/i386/pr32661.c: New test.

From-SVN: r127857
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr32661.c [new file with mode: 0644]