Re: [PATCH] Fix mips subreg handling (PR target/89378)

2019-03-19 Thread Jeff Law
On 3/14/19 7:52 AM, Jakub Jelinek wrote: > Hi! > > On the gcc.dg/vect/pr88598-3.c testcase, gen_vec_extract... is called with > operands[1] that is already a subreg - (subreg:V4SF (reg:V4SI 201 [ _31 ]) 0) > and wraps it in another SUBREG, which is invalid in RTL. > > In all the following 4 spots

Re: [PATCH] Fix mips subreg handling (PR target/89378)

2019-03-14 Thread Jeff Law
On 3/14/19 7:52 AM, Jakub Jelinek wrote: > Hi! > > On the gcc.dg/vect/pr88598-3.c testcase, gen_vec_extract... is called with > operands[1] that is already a subreg - (subreg:V4SF (reg:V4SI 201 [ _31 ]) 0) > and wraps it in another SUBREG, which is invalid in RTL. > > In all the following 4 spots

[PATCH] Fix mips subreg handling (PR target/89378)

2019-03-14 Thread Jakub Jelinek
Hi! On the gcc.dg/vect/pr88598-3.c testcase, gen_vec_extract... is called with operands[1] that is already a subreg - (subreg:V4SF (reg:V4SI 201 [ _31 ]) 0) and wraps it in another SUBREG, which is invalid in RTL. In all the following 4 spots I've verified that the operand's mode is some 128-bit