PR target/66866
commit02d55a7f738744d71a253d010f8e5ae15760bb16
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Jul 2015 22:20:17 +0000 (15 22:20 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Jul 2015 22:20:17 +0000 (15 22:20 +0000)
tree8768a99f04c1798812178ec21dc41147b6aeb533
parent85434c26a968b557c452b568762e432dd3fdf66c
PR target/66866
* config/i386/i386-protos.h (ix86_expand_pextr): New prototype.
* config/i386/i386.c (ix86_expand_pextr): New function.
(ix86_expand_pinsr): Handle V1TI and TI modes.  Call ix86_expand_pextr
for non-lowpart subregs.
* config/i386/i386.md (extzv<mode>): Expand with ix86_expand_pextr.
(insv<mode>): Use SWI248 mode iterator.
(insv<mode>_1): Ditto.

testsuite/ChangeLog:

PR target/66866
* g++.dg/pr66866.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225852 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr66866.C [new file with mode: 0644]