[Bug target/91454] [10 Regression] ICE in get_attr_avx_partial_xmm_update, at config/i386/i386.md:1804 since r274481

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 15 09:35:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91454

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
> Btw, remove_partial_avx_dependency suggests the VEC_MERGE/DUPLICATE form
> is canonical for V2DFmode ... (is it?).

Not according to

typedef double v2di __attribute__((vector_size(16)));

v2di foo (double x)
{
  return (v2di) { x, 0. };
}

which produces

(insn 6 3 7 2 (set (reg:V2DF 85)
        (vec_concat:V2DF (reg/v:DF 83 [ x ])
            (const_double:DF 0.0 [0x0.0p+0]))) "t.c":5:10 3056 {vec_concatv2df}
     (nil))

but maybe the merge/duplicate pattern also exists.


More information about the Gcc-bugs mailing list