Re: [PATCH] Fix sse4_1_insertps (PR target/48605)

2011-04-14 Thread Uros Bizjak
On Thu, Apr 14, 2011 at 9:11 PM, Jakub Jelinek wrote: > The insertps and vinsertps insns work differently if %2 is a register > resp. memory.  The register is 128-bit XMM register and the upper 2 bits > of the 8 bit immediate then select which of the 4 parts of that register to > choose.  If it i

[PATCH] Fix sse4_1_insertps (PR target/48605)

2011-04-14 Thread Jakub Jelinek
Hi! The insertps and vinsertps insns work differently if %2 is a register resp. memory. The register is 128-bit XMM register and the upper 2 bits of the 8 bit immediate then select which of the 4 parts of that register to choose. If it is a memory though, the upper 2 bits of the 8 bit immediate