public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error
@ 2004-10-01  7:28 jochang at gmail dot com
  2004-10-01  7:32 ` [Bug inline-asm/17767] " jochang at gmail dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: jochang at gmail dot com @ 2004-10-01  7:28 UTC (permalink / raw)
  To: gcc-bugs

Command line: gcc-3.4/bin/g++ -c -mmmx -O 1.c
Source:

#include <mmintrin.h>
inline void foo(int* pBlock)
{
  __m64 m2, m3, m5;
  m3 = _m_pcmpeqw(m3,m3);
  m2 = _m_psubsw(m2,m5);
  m5 = _m_psubsw(m5,m3);
  *((__m64*)pBlock) = m2;
}
void bar()
{
  for (int i=0;i<4;i++)
    foo(0);
}

-- 
           Summary: MMX intrinsics cause internal compiler error
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: inline-asm
        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=17767


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

* [Bug inline-asm/17767] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
@ 2004-10-01  7:32 ` jochang at gmail dot com
  2004-10-01 12:36 ` [Bug target/17767] " pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: jochang at gmail dot com @ 2004-10-01  7:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jochang at gmail dot com  2004-10-01 07:32 -------
Error message:
1.c: In function `void bar()':
1.c:14: internal compiler error: in output_constant_pool, at varasm.c:3208


-- 


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


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

* [Bug target/17767] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
  2004-10-01  7:32 ` [Bug inline-asm/17767] " jochang at gmail dot com
@ 2004-10-01 12:36 ` pinskia at gcc dot gnu dot org
  2004-10-01 13:32 ` [Bug target/17767] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-01 12:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|inline-asm                  |target
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
  2004-10-01  7:32 ` [Bug inline-asm/17767] " jochang at gmail dot com
  2004-10-01 12:36 ` [Bug target/17767] " pinskia at gcc dot gnu dot org
@ 2004-10-01 13:32 ` pinskia at gcc dot gnu dot org
  2004-10-01 14:18 ` reichelt at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-01 13:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-01 13:32 -------
: Search converges between 2004-01-01-trunk (#437) and 2004-01-17-trunk (#438).

Confirmed, a regression from 3.3.3.
Self contained example:
typedef int __m64 __attribute__ ((vector_size (8)));


typedef int __v2si __attribute__ ((vector_size (8)));
typedef short __v4hi __attribute__ ((vector_size (8)));
typedef char __v8qi __attribute__ ((vector_size (8)));

static __inline __m64
_mm_subs_pi16 (__m64 __m1, __m64 __m2)
{
  return (__m64) __builtin_ia32_psubsw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64
_m_psubsw (__m64 __m1, __m64 __m2)
{
  return _mm_subs_pi16 (__m1, __m2);
}
static __inline __m64
_mm_cmpeq_pi16 (__m64 __m1, __m64 __m2)
{
  return (__m64) __builtin_ia32_pcmpeqw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64
_m_pcmpeqw (__m64 __m1, __m64 __m2)
{
  return _mm_cmpeq_pi16 (__m1, __m2);
}
void bar()
{
  for (int i=0;i<4;i++)
{
  __m64 m2, m3, m5;
  m3 = _m_pcmpeqw(m3,m3);
  m2 = _m_psubsw(m2,m5);
  m5 = _m_psubsw(m5,m3);
  *((__m64*)0) = m2;
}
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.0 3.4.0
      Known to work|                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-01 13:32:32
               date|                            |
            Summary|MMX intrinsics cause        |[3.4/4.0 Regression] MMX
                   |internal compiler error     |intrinsics cause internal
                   |                            |compiler error
   Target Milestone|---                         |4.0.0


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


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

* [Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (2 preceding siblings ...)
  2004-10-01 13:32 ` [Bug target/17767] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-01 14:18 ` reichelt at gcc dot gnu dot org
  2004-10-01 14:34 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-01 14:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-10-01 14:18 -------
Here's a shorter testcase.
It crashes since gcc 3.1 when compiled with "gcc -mmmx -O".

======================================================================
typedef int    __m64 __attribute__ ((vector_size (8)));
typedef short __v4hi __attribute__ ((vector_size (8)));

__m64 foo()
{
    int i;
    __m64 m;

    for (i=0;i<2;i++)
        m = (__m64) __builtin_ia32_pcmpeqw ((__v4hi)m, (__v4hi)m);

    return m;
}
======================================================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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


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

* [Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (3 preceding siblings ...)
  2004-10-01 14:18 ` reichelt at gcc dot gnu dot org
@ 2004-10-01 14:34 ` pinskia at gcc dot gnu dot org
  2004-10-01 17:49 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-01 14:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-01 14:34 -------
Hmm, somehow the fix for PR 8869 is not doing its job anymore which is why this works in 3.3.3 but 
not 3.4.0 or the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (4 preceding siblings ...)
  2004-10-01 14:34 ` pinskia at gcc dot gnu dot org
@ 2004-10-01 17:49 ` pinskia at gcc dot gnu dot org
  2004-10-11  9:42 ` [Bug target/17767] [4.0 " reichelt at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-01 17:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |3.4.3


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


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

* [Bug target/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (5 preceding siblings ...)
  2004-10-01 17:49 ` pinskia at gcc dot gnu dot org
@ 2004-10-11  9:42 ` reichelt at gcc dot gnu dot org
  2004-11-28 21:43 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-11  9:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-10-11 09:42 -------
Roger, your patch for PR 17853
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg00486.html
fixed PR17767 on the 3.4 branch. The problem on mainline remains, though.

Could you please have a look?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sayle at gcc dot gnu dot org
            Summary|[3.4/4.0 Regression] MMX    |[4.0 Regression] MMX
                   |intrinsics cause internal   |intrinsics cause internal
                   |compiler error              |compiler error
   Target Milestone|3.4.3                       |4.0.0


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


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

* [Bug target/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (6 preceding siblings ...)
  2004-10-11  9:42 ` [Bug target/17767] [4.0 " reichelt at gcc dot gnu dot org
@ 2004-11-28 21:43 ` pinskia at gcc dot gnu dot org
  2004-12-10 15:34 ` uros at kss-loka dot si
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-28 21:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-28 21:43 -------
Hmm, a x86_64 compiler with -m32 works.

-- 


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


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

* [Bug target/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (7 preceding siblings ...)
  2004-11-28 21:43 ` pinskia at gcc dot gnu dot org
@ 2004-12-10 15:34 ` uros at kss-loka dot si
  2004-12-12 17:59 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: uros at kss-loka dot si @ 2004-12-10 15:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From uros at kss-loka dot si  2004-12-10 15:34 -------
This patch will fix the mainline, but more investigation is needed.

Index: cse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cse.c,v
retrieving revision 1.327
diff -u -r1.327 cse.c
--- cse.c   26 Nov 2004 15:42:36 -0000 1.327
+++ cse.c   10 Dec 2004 15:30:34 -0000
@@ -3860,6 +3860,9 @@
 
     case RTX_COMPARE:
     case RTX_COMM_COMPARE:
+      if (VECTOR_MODE_P (mode))
+       break;
+
       /* See what items are actually being compared and set FOLDED_ARG[01]
         to those values and CODE to the actual comparison code.  If any are
         constant, set CONST_ARG0 and CONST_ARG1 appropriately.  We needn't

Uros.

-- 


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


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

* [Bug target/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (8 preceding siblings ...)
  2004-12-10 15:34 ` uros at kss-loka dot si
@ 2004-12-12 17:59 ` pinskia at gcc dot gnu dot org
  2004-12-16 18:19 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-12 17:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-12 17:59 -------
*** Bug 18944 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbptbp at gmail dot com


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


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

* [Bug target/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (9 preceding siblings ...)
  2004-12-12 17:59 ` pinskia at gcc dot gnu dot org
@ 2004-12-16 18:19 ` pinskia at gcc dot gnu dot org
  2004-12-21 13:49 ` uros at kss-loka dot si
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-16 18:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-16 18:19 -------
*** Bug 19039 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stuart at apple dot com


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


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

* [Bug target/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (10 preceding siblings ...)
  2004-12-16 18:19 ` pinskia at gcc dot gnu dot org
@ 2004-12-21 13:49 ` uros at kss-loka dot si
  2005-01-04  9:22 ` [Bug middle-end/17767] " uros at kss-loka dot si
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: uros at kss-loka dot si @ 2004-12-21 13:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From uros at kss-loka dot si  2004-12-21 13:47 -------
The problem here is that case RTX_COMPARE:/case RTX_COMM_COMPARE: in fold_rtx()
in cse.c is not 'vector safe'. The testcase from comment #3 will trigger these
parts of RTX_COMPARE case:

	      /* See if the two operands are the same.  */
	      if (folded_arg0 == folded_arg1 ...

Operands are the same, (reg:V4HI 62 [ D.1293 ]) and (reg:V4HI 62 [ D.1293 ]).

		  /* Sadly two equal NaNs are not equivalent.  */
		  if (!HONOR_NANS (mode_arg0))
		    return ((code == EQ || code == LE || code == GE
			     || code == LEU || code == GEU || code == UNEQ
			     || code == UNLE || code == UNGE
			     || code == ORDERED)
			    ? true_rtx : false_rtx);


V4HI mode obviously does not HONOR_NANS and (code == EQ). A 'true_rtx' is
returned, but a _vector_ of trues would be more appropriate in this case.

I guess the RTX_COMPARE case should be recoded for vector support, or patch from
comment #7 should be used to prevent VECTOR_MODES from entering this code.

Uros.


-- 


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


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

* [Bug middle-end/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (11 preceding siblings ...)
  2004-12-21 13:49 ` uros at kss-loka dot si
@ 2005-01-04  9:22 ` uros at kss-loka dot si
  2005-01-04 15:44 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: uros at kss-loka dot si @ 2005-01-04  9:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From uros at kss-loka dot si  2005-01-04 09:21 -------
This is really middle-end problem.

Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00168.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |middle-end
           Keywords|                            |patch


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


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

* [Bug middle-end/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (12 preceding siblings ...)
  2005-01-04  9:22 ` [Bug middle-end/17767] " uros at kss-loka dot si
@ 2005-01-04 15:44 ` cvs-commit at gcc dot gnu dot org
  2005-01-04 15:46 ` pinskia at gcc dot gnu dot org
  2005-02-17 13:20 ` cvs-commit at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-04 15:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-04 15:44 -------
Subject: Bug 17767

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	uros@gcc.gnu.org	2005-01-04 15:44:25

Modified files:
	gcc            : ChangeLog cse.c simplify-rtx.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: i386-mmx-6.c 

Log message:
	PR middle-end/17767
	* cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
	any simplifications of vector mode comparison operators.
	* simplify-rtx.c (simplify_relational_operation): Fix variable name.
	
	testsuite:
	
	* gcc.dg/i386-mmx-6.c: New test case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7020&r2=2.7021
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&r1=1.327&r2=1.328
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&r1=1.219&r2=1.220
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4845&r2=1.4846
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/i386-mmx-6.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug middle-end/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (13 preceding siblings ...)
  2005-01-04 15:44 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-04 15:46 ` pinskia at gcc dot gnu dot org
  2005-02-17 13:20 ` cvs-commit at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-04 15:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-04 15:46 -------
Fixed.

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


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


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

* [Bug middle-end/17767] [4.0 Regression] MMX intrinsics cause internal compiler error
  2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
                   ` (14 preceding siblings ...)
  2005-01-04 15:46 ` pinskia at gcc dot gnu dot org
@ 2005-02-17 13:20 ` cvs-commit at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-17 13:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-17 01:56 -------
Subject: Bug 17767

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	apple-ppc-branch
Changes by:	dalej@gcc.gnu.org	2005-02-17 01:56:12

Modified files:
	gcc            : ChangeLog.apple-ppc cse.c simplify-rtx.c 
	                 recog.c basic-block.h 
	gcc/config/i386: i386.md 

Log message:
	2005-02-16  Dale Johannesen  <dalej@apple.com>
	
	Radar 4006687
	PR 17767 et al (fix from mainline)
	* cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
	any simplifications of vector mode comparison operators.
	* simplify-rtx.c (simplify_relational_operation): Fix variable name.
	
	2005-02-15  Dale Johannesen  <dalej@apple.com>
	
	Radar 3991611
	Radar 3990578
	PRs 19084 and 19348 (fix from mainline)
	* recog.c (peephole2_optimize): Do global life update if some peephole
	decides it doesn't need at least one of its inputs and that change
	influences liveness at the start of the basic block.
	* basic-block.h (EXECUTE_IF_AND_COMPL_IN_REG_SET): Needs 2 REGSET
	arguments instead of 1.
	
	2005-02-15  Dale Johannesen  <dalej@apple.com>
	
	Radar 3876378
	Radar 3838108
	PR 18109 (fix from mainline)
	* config/i386/i386.md (movhi_1):  Remove previous attempt at a fix.
	(movqi_1):  Ditto.  Don't use 4-byte load when unsafe.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.308&r2=1.1.2.309
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.229.2.32.2.13&r2=1.229.2.32.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.107.2.31.2.11&r2=1.107.2.31.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.159.2.24.2.8&r2=1.159.2.24.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/basic-block.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.153.2.48.2.10&r2=1.153.2.48.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.374.2.42.2.7&r2=1.374.2.42.2.8



-- 


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


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

end of thread, other threads:[~2005-02-17  1:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01  7:28 [Bug inline-asm/17767] New: MMX intrinsics cause internal compiler error jochang at gmail dot com
2004-10-01  7:32 ` [Bug inline-asm/17767] " jochang at gmail dot com
2004-10-01 12:36 ` [Bug target/17767] " pinskia at gcc dot gnu dot org
2004-10-01 13:32 ` [Bug target/17767] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-01 14:18 ` reichelt at gcc dot gnu dot org
2004-10-01 14:34 ` pinskia at gcc dot gnu dot org
2004-10-01 17:49 ` pinskia at gcc dot gnu dot org
2004-10-11  9:42 ` [Bug target/17767] [4.0 " reichelt at gcc dot gnu dot org
2004-11-28 21:43 ` pinskia at gcc dot gnu dot org
2004-12-10 15:34 ` uros at kss-loka dot si
2004-12-12 17:59 ` pinskia at gcc dot gnu dot org
2004-12-16 18:19 ` pinskia at gcc dot gnu dot org
2004-12-21 13:49 ` uros at kss-loka dot si
2005-01-04  9:22 ` [Bug middle-end/17767] " uros at kss-loka dot si
2005-01-04 15:44 ` cvs-commit at gcc dot gnu dot org
2005-01-04 15:46 ` pinskia at gcc dot gnu dot org
2005-02-17 13:20 ` cvs-commit 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).