https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866
--- Comment #8 from uros at gcc dot gnu.org --- Author: uros Date: Wed Jul 15 22:20:17 2015 New Revision: 225852 URL: https://gcc.gnu.org/viewcvs?rev=225852&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/g++.dg/pr66866.C Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386-protos.h trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.md trunk/gcc/testsuite/ChangeLog