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 ix86_vectorize_vec_perm_const_ok (PR target/57896)


On 02/20/2014 02:59 PM, Jakub Jelinek wrote:
> ... so all we care about is that
> target/op0/op1 have the right modes and that target is a different register
> from op0 and op0 either the same as op1 or yet another register.

That's my point: yet another register.  Thus the creation of a brand new pseudo
(or brand new dummy) is not irrelevant to the match.

> 
> The problem I see with this is that we'll need to maintain test_regno
> everywhere.  E.g. there are places which even fir !d->testing_p create
> temporary structures and set testing_p in it, that would now require
> that we also set test_regno there to something (what?).

True, I didn't think of the other places we set testing_p.  But that's just one
or two more places to set test_regno.  Not out of the question...


r~


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