https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498
--- Comment #9 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Tue Feb 14 16:53:22 2017 New Revision: 245438 URL: https://gcc.gnu.org/viewcvs?rev=245438&root=gcc&view=rev Log: Properly store 128-bit constant in large model When converting TI store with CONST_INT to V1TI store with CONST_VECTOR in large model, an extra instruction may be needed to load CONST_VECTOR into a register. Insert the extra instruction to the right place. gcc/ PR target/79498 * config/i386/i386.c (timode_scalar_chain::convert_insn): Insert the extra instruction to the right place to store 128-bit constant when needed. gcc/testsuite/ PR target/79498 * gcc.target/i386/pr79498.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr79498.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog