This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [x86] do not issue invalid vec_select from V2DI
- From: Richard Henderson <rth at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 4 Jan 2006 19:38:28 -0800
- Subject: Re: [x86] do not issue invalid vec_select from V2DI
- References: <orzmmzihzq.fsf@livre.oliva.athome.lsd.ic.unicamp.br> <20051222213608.GA11451@redhat.com> <or1wznlhl9.fsf@livre.oliva.athome.lsd.ic.unicamp.br>
On Wed, Jan 04, 2006 at 09:05:22PM -0200, Alexandre Oliva wrote:
> instead of the simpler (and SSE1-compatible, I hope, although this is
> all new to me and I haven't found reliable docs on differences between
> SSE1 and SSE2 so far):
What you have isn't sse1 compatible; sse1 doesn't have anything
to do with doubles or integers.
See also typed registers and the reformatting costs associated.
If we have an integer formatted register, unless optimizing for
size, we prefer to use insns that operate on integers. Thus the
shift instead of movhlpd.
r~