From: Uros Bizjak Date: Thu, 24 May 2018 18:16:29 +0000 (+0200) Subject: re PR target/85903 (FAIL: gcc.target/i386/avx512dq-vcvtuqq2pd-2.c) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd657f1acbb76aae325f7185359064c89c5dbfad;p=gcc.git re PR target/85903 (FAIL: gcc.target/i386/avx512dq-vcvtuqq2pd-2.c) PR target/85903 * config/i386/sse.md (movdi_to_sse): Do not generate pseudo when memory input operand is handled. From-SVN: r260681 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1143e146a68..4021500e8eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-05-24 Uros Bizjak + + PR target/85903 + * config/i386/sse.md (movdi_to_sse): Do not generate pseudo + when memory input operand is handled. + 2018-05-24 Luis Machado * config/aarch64/aarch64.c (qdf24xx_addrcost_table): New static diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 8a80fa35067..9750708a80f 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -1248,11 +1248,8 @@ operands[2])); } else if (memory_operand (operands[1], DImode)) - { - rtx tmp = gen_reg_rtx (V2DImode); - emit_insn (gen_vec_concatv2di (tmp, operands[1], const0_rtx)); - emit_move_insn (operands[0], gen_lowpart (V4SImode, tmp)); - } + emit_insn (gen_vec_concatv2di (gen_lowpart (V2DImode, operands[0]), + operands[1], const0_rtx)); else gcc_unreachable (); DONE;