This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32961] [4.2/4.3 Regression]: Gcc has different requirements for x86 shift xmm intrinsics
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2007 06:33:22 -0000
- Subject: [Bug target/32961] [4.2/4.3 Regression]: Gcc has different requirements for x86 shift xmm intrinsics
- References: <bug-32961-14931@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from ubizjak at gmail dot com 2007-10-18 06:33 -------
(In reply to comment #8)
> > Icc generates:
> > 0: 66 0f 6e cf movd %edi,%xmm1
> > 4: 66 0f f2 c1 pslld %xmm1,%xmm0
>
> Right, that's what icc's documentation would suggest. But that documentation
> seems inconsistent with the assembly reference guide. It may be that the
> assembly reference guide is the one that's wrong, or that icc intentionally
> extends it.
I think we should follow icc example, because there is realy no problem to
support immediates and non-immediates for these insns. Supporting only
immediates looks like forced limitation to me, even if it is required.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32961