public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics
@ 2005-04-19 10:14 jochang at gmail dot com
  2005-04-19 10:15 ` [Bug target/21101] " jochang at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jochang at gmail dot com @ 2005-04-19 10:14 UTC (permalink / raw)
  To: gcc-bugs

ICE on gcc 4.0.0rc2, but both 3.3.5 and 3.4.3 work.

$ /usr/local/gcc-4.0/bin/g++ -c -O2 -funroll-loops -march=pentium4 3.cpp
3.cpp: In function 'void f()':
3.cpp:29: error: could not find a spill register
(insn:HI 95 94 96 0 (set (reg:V4HI 29 mm0 [orig:115 D.2920 ] [115])
        (vec_duplicate:V4HI (truncate:HI (subreg:SI (reg:HI 111 [ B ]) 0)))) 817
{*vec_dupv4hi} (insn_list:REG_DEP_TRUE 88 (nil))
    (expr_list:REG_DEAD (reg:HI 111 [ B ])
        (nil)))
3.cpp:29: internal compiler error: in failed_reload, at reload1.c:4982

-- 
           Summary: ICE: could not find a spill register on MMX intrinsics
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jochang at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
@ 2005-04-19 10:15 ` jochang at gmail dot com
  2005-04-19 19:49 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jochang at gmail dot com @ 2005-04-19 10:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jochang at gmail dot com  2005-04-19 10:15 -------
Created an attachment (id=8683)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8683&action=view)
the test case


-- 


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
  2005-04-19 10:15 ` [Bug target/21101] " jochang at gmail dot com
@ 2005-04-19 19:49 ` pinskia at gcc dot gnu dot org
  2005-04-23 17:23 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-19 19:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code, ssemmx


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
  2005-04-19 10:15 ` [Bug target/21101] " jochang at gmail dot com
  2005-04-19 19:49 ` pinskia at gcc dot gnu dot org
@ 2005-04-23 17:23 ` rth at gcc dot gnu dot org
  2005-04-24  8:00 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-23 17:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-04-23 17:23 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-23 17:23:16
               date|                            |


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
                   ` (2 preceding siblings ...)
  2005-04-23 17:23 ` rth at gcc dot gnu dot org
@ 2005-04-24  8:00 ` cvs-commit at gcc dot gnu dot org
  2005-04-24  8:03 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-24  8:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-24 07:59 -------
Subject: Bug 21101

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-04-24 07:59:23

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386-protos.h i386.c i386.h 
Added files:
	gcc/testsuite/gcc.target/i386: pr21101.c 

Log message:
	PR target/21101
	* config/i386/i386.h (CANNOT_CHANGE_MODE_CLASS): Move guts to ...
	* config/i386/i386.c (ix86_cannot_change_mode_class): ... here.
	Deny modes smaller than 4 bytes.
	* config/i386/i386-protos.h: Update.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8435&r2=2.8436
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386-protos.h.diff?cvsroot=gcc&r1=1.137&r2=1.138
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.815&r2=1.816
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&r1=1.429&r2=1.430
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/i386/pr21101.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
                   ` (3 preceding siblings ...)
  2005-04-24  8:00 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-24  8:03 ` cvs-commit at gcc dot gnu dot org
  2005-04-24  8:17 ` rth at gcc dot gnu dot org
  2005-04-24 11:38 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-24  8:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-24 08:02 -------
Subject: Bug 21101

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	rth@gcc.gnu.org	2005-04-24 08:02:22

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386-protos.h i386.c i386.h 
Added files:
	gcc/testsuite/gcc.target/i386: pr21101.c 

Log message:
	PR target/21101
	* config/i386/i386.h (CANNOT_CHANGE_MODE_CLASS): Move guts to ...
	* config/i386/i386.c (ix86_cannot_change_mode_class): ... here.
	Deny modes smaller than 4 bytes.
	* config/i386/i386-protos.h: Update.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.184&r2=2.7592.2.185
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.131&r2=1.131.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.795.6.5&r2=1.795.6.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.421.6.1&r2=1.421.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/i386/pr21101.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
                   ` (4 preceding siblings ...)
  2005-04-24  8:03 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-24  8:17 ` rth at gcc dot gnu dot org
  2005-04-24 11:38 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-24  8:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-04-24 08:17 -------
Fixed.

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


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


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

* [Bug target/21101] ICE: could not find a spill register on MMX intrinsics
  2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
                   ` (5 preceding siblings ...)
  2005-04-24  8:17 ` rth at gcc dot gnu dot org
@ 2005-04-24 11:38 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-24 11:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.1


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


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

end of thread, other threads:[~2005-04-24 11:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 10:14 [Bug target/21101] New: ICE: could not find a spill register on MMX intrinsics jochang at gmail dot com
2005-04-19 10:15 ` [Bug target/21101] " jochang at gmail dot com
2005-04-19 19:49 ` pinskia at gcc dot gnu dot org
2005-04-23 17:23 ` rth at gcc dot gnu dot org
2005-04-24  8:00 ` cvs-commit at gcc dot gnu dot org
2005-04-24  8:03 ` cvs-commit at gcc dot gnu dot org
2005-04-24  8:17 ` rth at gcc dot gnu dot org
2005-04-24 11:38 ` pinskia 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).