Commit 7be65e79 by Uros Bizjak Committed by Uros Bizjak

re PR target/87573 (error: could not split insn since r264877)

	PR target/87573
	* config/i386/mmx.md (const_vector 0 -> mem splitter): New splitter.

testsuite/ChangeLog:

	PR target/87573
	* gcc.target/i386/pr87573.c: New test.

From-SVN: r265019
parent 1f10b5b8
2018-10-10 Uros Bizjak <ubizjak@gmail.com>
PR target/87573
* config/i386/mmx.md (const_vector 0 -> mem splitter): New splitter.
2018-10-10 Jakub Jelinek <jakub@redhat.com>
PR target/87550
......@@ -217,7 +217,14 @@
(define_split
[(set (match_operand:MMXMODE 0 "nonimmediate_gr_operand")
(match_operand:MMXMODE 1 "general_gr_operand"))]
(match_operand:MMXMODE 1 "nonimmediate_gr_operand"))]
"!TARGET_64BIT && reload_completed"
[(const_int 0)]
"ix86_split_long_move (operands); DONE;")
(define_split
[(set (match_operand:MMXMODE 0 "nonimmediate_gr_operand")
(match_operand:MMXMODE 1 "const0_operand"))]
"!TARGET_64BIT && reload_completed"
[(const_int 0)]
"ix86_split_long_move (operands); DONE;")
......
2018-10-10 Uros Bizjak <ubizjak@gmail.com>
PR target/87573
* gcc.target/i386/pr87573.c: New test.
2018-10-10 Jakub Jelinek <jakub@redhat.com>
PR target/87550
......
/* PR target/87573 */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O1 -mmmx -mno-sse" } */
typedef char __v8qi __attribute__((vector_size(8)));
__v8qi e;
void f (void)
{
e = (__v8qi) {0, 0, 0, 0, 0, 0, 0, 0};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment