public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2
@ 2005-01-13 15:17 uros at kss-loka dot si
  2005-01-13 20:45 ` [Bug target/19427] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: uros at kss-loka dot si @ 2005-01-13 15:17 UTC (permalink / raw)
  To: gcc-bugs

This testsuite failure can be reproduced for both x86_64 and i686 with -msse2:

FAIL: gcc.c-torture/execute/simd-1.c compilation,  -O0 
UNRESOLVED: gcc.c-torture/execute/simd-1.c execution,  -O0 
FAIL: gcc.c-torture/execute/simd-1.c compilation,  -O1 
UNRESOLVED: gcc.c-torture/execute/simd-1.c execution,  -O1 
FAIL: gcc.c-torture/execute/simd-1.c compilation,  -O2 
UNRESOLVED: gcc.c-torture/execute/simd-1.c execution,  -O2 
FAIL: gcc.c-torture/execute/simd-1.c compilation,  -O3 -fomit-frame-pointer 
UNRESOLVED: gcc.c-torture/execute/simd-1.c execution,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/simd-1.c compilation,  -O3 -g 
UNRESOLVED: gcc.c-torture/execute/simd-1.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/simd-1.c compilation,  -Os 
UNRESOLVED: gcc.c-torture/execute/simd-1.c execution,  -Os 

simd-1.c:74: error: unrecognizable insn:
(insn 47 46 48 0 (set (reg:SI 78 [ D.1529 ])
        (vec_select:SI (reg:V4SI 154)
            (parallel [
                    (const_int 1 [0x1])
                ]))) -1 (nil)
    (expr_list:REG_DEAD (reg:V4SI 154)
        (nil)))
simd-1.c:74: internal compiler error: in extract_insn, at recog.c:2020

However, on i686 with -msse, the error is different:

simd-1.c:74: error: unrecognizable insn:
(insn 24 23 25 0 (set (reg:V4SF 218)
        (vec_select:V4SF (vec_concat:V8SF (subreg:V4SF (reg:V4SI 207 [ i.0 ]) 0)
                (subreg:V4SF (reg:V4SI 207 [ i.0 ]) 0))
            (parallel [
                    (const_int 1 [0x1])
                    (const_int 1 [0x1])
                    (const_int 1 [0x1])
                    (const_int 1 [0x1])
                ]))) -1 (nil)
    (nil))
simd-1.c:74: internal compiler error: in extract_insn, at recog.c:2020

-- 
           Summary: gcc.c-torture/execute/simd-1.c compilation fails for
                    x64_86 and i686 with -msse2
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ssemmx
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: uros at kss-loka dot si
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-*, x86_64-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19427


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2
  2005-01-13 15:17 [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2 uros at kss-loka dot si
@ 2005-01-13 20:45 ` pinskia at gcc dot gnu dot org
  2005-01-14  7:17 ` [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse uros at kss-loka dot si
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 20:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-13 20:45 -------
Does this work now after RTH's patches?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|i686-*, x86_64-*            |
 GCC target triplet|                            |i686-*, x86_64-*
           Keywords|                            |ice-on-valid-code
            Summary|gcc.c-torture/execute/simd- |[4.0 Regression] gcc.c-
                   |1.c compilation fails for   |torture/execute/simd-1.c
                   |x64_86 and i686 with -msse2 |compilation fails for x64_86
                   |                            |and i686 with -msse2
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19427


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse
  2005-01-13 15:17 [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2 uros at kss-loka dot si
  2005-01-13 20:45 ` [Bug target/19427] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-14  7:17 ` uros at kss-loka dot si
  2005-01-20  1:03 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: uros at kss-loka dot si @ 2005-01-14  7:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From uros at kss-loka dot si  2005-01-14 07:17 -------
Testcase now works for -msse2 (x86_64 implies -msse2), but it still fails for
i686 with -msse. It also fails for x86_64 with -mno-sse2 with the same error, FWIW.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-14 07:17:07
               date|                            |
            Summary|[4.0 Regression] gcc.c-     |[4.0 Regression] gcc.c-
                   |torture/execute/simd-1.c    |torture/execute/simd-1.c
                   |compilation fails for x64_86|compilation fails for i686
                   |and i686 with -msse2        |with -msse


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19427


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse
  2005-01-13 15:17 [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2 uros at kss-loka dot si
  2005-01-13 20:45 ` [Bug target/19427] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2005-01-14  7:17 ` [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse uros at kss-loka dot si
@ 2005-01-20  1:03 ` rth at gcc dot gnu dot org
  2005-01-20  6:35 ` cvs-commit at gcc dot gnu dot org
  2005-01-20  6:37 ` rth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-20  1:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-20 01:02 -------
Testing a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-01-14 07:17:07         |2005-01-20 01:03:00
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19427


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse
  2005-01-13 15:17 [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2 uros at kss-loka dot si
                   ` (2 preceding siblings ...)
  2005-01-20  1:03 ` rth at gcc dot gnu dot org
@ 2005-01-20  6:35 ` cvs-commit at gcc dot gnu dot org
  2005-01-20  6:37 ` rth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-20  6:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-20 06:35 -------
Subject: Bug 19427

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-01-20 06:35:38

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c 

Log message:
	PR target/19427
	* config/i386/i386.c (ix86_expand_vector_set): Fix third and fourth
	shufps elements.
	(ix86_expand_vector_extract): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7194&r2=2.7195
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.781&r2=1.782



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19427


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse
  2005-01-13 15:17 [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2 uros at kss-loka dot si
                   ` (3 preceding siblings ...)
  2005-01-20  6:35 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-20  6:37 ` rth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-20  6:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-20 06:37 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19427


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-01-20  6:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 15:17 [Bug target/19427] New: gcc.c-torture/execute/simd-1.c compilation fails for x64_86 and i686 with -msse2 uros at kss-loka dot si
2005-01-13 20:45 ` [Bug target/19427] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-14  7:17 ` [Bug target/19427] [4.0 Regression] gcc.c-torture/execute/simd-1.c compilation fails for i686 with -msse uros at kss-loka dot si
2005-01-20  1:03 ` rth at gcc dot gnu dot org
2005-01-20  6:35 ` cvs-commit at gcc dot gnu dot org
2005-01-20  6:37 ` rth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).