This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR 18503


On Wed, 17 Nov 2004 12:02:27 +0100, Uros Bizjak <uros@kss-loka.si> wrote:
> Richard Guenther wrote:
> 
> >>Index: i386.md
> >>===================================================================
> >>RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
> >>retrieving revision 1.562
> >>diff -u -p -r1.562 i386.md
> >>--- i386.md     18 Oct 2004 13:01:31 -0000      1.562
> >>+++ i386.md     17 Nov 2004 09:37:27 -0000
> >>@@ -20817,7 +20817,7 @@
> >>        (vec_merge:V4SF
> >>         (match_operand:V4SF 1 "register_operand" "0")
> >>         (match_operand:V4SF 2 "register_operand" "x")
> >>-        (const_int 1)))]
> >>+        (const_int 14)))]
> >>
> >>
> >                           ^^^^
> >Typo?  From the context I'd have guessed 4 here.
> >
> >
> No,  14 (fourteen). This is 1110b, which means "copy values at position
> 3,2,1 from vector 1 and value 0 from vector 2. This is indeed what movss
> does:

Ah ok, that makes sense.  Can we actually write 1110b in the .md file then?

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]