re PR target/43067 (ICE: SIGSEGV with -fschedule-insns -mxop)

PR target/43067
	* config/i386/sse.md (xop_mulv2div2di3_low): Change type
	attribute to ssemul.
	(xop_mulv2div2di3_high): Ditto.

testsuite/ChangeLog:

	PR target/43067
	* gcc.target/i386/pr43067.c: New test.

From-SVN: r156929
This commit is contained in:
Uros Bizjak 2010-02-20 23:11:32 +01:00 committed by Uros Bizjak
parent 17251338de
commit 78c201a40b
4 changed files with 31 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2010-02-20 Uros Bizjak <ubizjak@gmail.com>
PR target/43067
* config/i386/sse.md (xop_mulv2div2di3_low): Change type
attribute to ssemul.
(xop_mulv2div2di3_high): Ditto.
2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/35669
@ -7,7 +14,7 @@
2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
* common.opt (Wlarger-than-): Add Undocumented.
2010-02-19 Mike Stump <mikestump@comcast.net>
* config/t-darwin (gt-darwin.h): Remove as Makefile now handles it.

View File

@ -10422,7 +10422,7 @@
{
operands[3] = CONST0_RTX (V2DImode);
}
[(set_attr "type" "ssemuladd")
[(set_attr "type" "ssemul")
(set_attr "mode" "TI")])
(define_insn "xop_pmacsdqh"
@ -10484,7 +10484,7 @@
{
operands[3] = CONST0_RTX (V2DImode);
}
[(set_attr "type" "ssemuladd")
[(set_attr "type" "ssemul")
(set_attr "mode" "TI")])
;; XOP parallel integer multiply/add instructions for the intrinisics

View File

@ -1,3 +1,8 @@
2010-02-20 Uros Bizjak <ubizjak@gmail.com>
PR target/43067
* gcc.target/i386/pr43067.c: New test.
2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/35669
@ -23,7 +28,7 @@
PR 43128
* c-c++-common/pr41779.c: Fix broken testcase.
2010-02-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR 36513

View File

@ -0,0 +1,15 @@
/* { dg-do compile } */
/* { dg-options "-O1 -mxop -ftree-vectorize -fschedule-insns" } */
union {
int i32[10240];
long long i64[10240];
} a, b, c;
void imul32_to_64 (void)
{
int i;
for (i = 0; i < 10240; i++)
a.i64[i] = (long long) b.i32[i] * c.i32[i];
}