re PR target/23575 (ICE: output_operand: unterminated assembly dialect alternative)

2005-08-27  Richard Guenther  <rguenther@gcc.gnu.org>

	PR target/23575
	* config/i386/sse.md (sse2_movsd): Add missing closing
	braces.

	* gcc.target/i386/pr23575.c: New testcase.

From-SVN: r103559
This commit is contained in:
Richard Guenther 2005-08-27 12:04:28 +00:00 committed by Richard Biener
parent 4f8ea09e0b
commit f013cadc88
4 changed files with 33 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-08-27 Richard Guenther <rguenther@suse.de>
PR target/23575
* config/i386/sse.md (sse2_movsd): Add missing closing
braces.
2005-08-27 Paul Brook <paul@codesourcery.com>
* genrecog.c (enum decision_type): Add DT_num_insns.

View file

@ -2265,8 +2265,8 @@
movlpd\t{%2, %0|%0, %2}
movlpd\t{%2, %0|%0, %2}
shufpd\t{$2, %2, %0|%0, %2, 2}
movhps\t{%H1, %0|%0, %H1
movhps\t{%1, %H0|%H0, %1"
movhps\t{%H1, %0|%0, %H1}
movhps\t{%1, %H0|%H0, %1}"
[(set_attr "type" "ssemov,ssemov,ssemov,sselog,ssemov,ssemov")
(set_attr "mode" "DF,V1DF,V1DF,V2DF,V1DF,V1DF")])

View file

@ -1,3 +1,8 @@
2005-08-27 Richard Guenther <rguenther@suse.de>
PR target/23575
* gcc.target/i386/pr23575.c: New testcase.
2005-08-26 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/23561

View file

@ -0,0 +1,20 @@
/* { dg-do compile } */
/* { dg-options "-march=pentium4 -O2" } */
/* We used to ICE because of a bogous pattern. */
typedef double __v2df __attribute__ ((__vector_size__ (16)));
typedef __v2df __m128d;
static __inline __m128d __attribute__((__always_inline__)) _mm_set1_pd (double __F) {
return __extension__ (__m128d){__F, __F};
}
static __inline __m128d __attribute__((__always_inline__)) _mm_move_sd (__m128d __A, __m128d __B) {
return (__m128d) __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B);
}
void g(__m128d b);
__m128d cross(__m128d tmp9)
{
__m128d t1 = _mm_set1_pd(1.0);
__m128d tmp10 = _mm_move_sd(t1, tmp9);
return tmp10;
}