* [Bug c++/17113] GCSE breaks SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
@ 2004-08-20 0:01 ` bobm75 at gmail dot com
2004-08-20 6:19 ` [Bug c++/17113] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bobm75 at gmail dot com @ 2004-08-20 0:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bobm75 at gmail dot com 2004-08-20 00:01 -------
Created an attachment (id=6961)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6961&action=view)
Preprocessed file that causes the problem.
I took the proprocessed file and removed any unneeded declarations that came in
from emmintrin.h.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17113] [3.4 Regression] GCSE breaks SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
2004-08-20 0:01 ` [Bug c++/17113] " bobm75 at gmail dot com
@ 2004-08-20 6:19 ` pinskia at gcc dot gnu dot org
2004-08-20 12:43 ` [Bug target/17113] [3.4 Regression] ICE with " reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-20 6:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-20 06:18 -------
Confirmed a regression from 3.3.3 but fixed already on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.4.0
Known to work| |3.3.3 3.5.0
Last reconfirmed|0000-00-00 00:00:00 |2004-08-20 06:18:58
date| |
Summary|GCSE breaks SSE2 intrinsics |[3.4 Regression] GCSE breaks
| |SSE2 intrinsics
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
2004-08-20 0:01 ` [Bug c++/17113] " bobm75 at gmail dot com
2004-08-20 6:19 ` [Bug c++/17113] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-08-20 12:43 ` reichelt at gcc dot gnu dot org
2004-08-20 17:35 ` bobm75 at gmail dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-20 12:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-20 12:43 -------
The failure has nothing to do with GCSE, here's a short example to
demonstrate this. Just compile with "gcc -msse2 -O" to see the crash :-(
=======================================================
typedef int __v4si __attribute__ ((mode (V4SI)));
typedef int __v16qi __attribute__ ((mode (V16QI)));
void foo(int* p)
{
int i;
for ( i=0; i<2; ++i )
{
__v16qi v0, v1=(__v16qi)__builtin_ia32_setzero128();
v0 = __builtin_ia32_punpckhbw128(v0, v1);
__builtin_ia32_stored (p, (__v4si)v0);
}
}
=======================================================
The bug was fixed on mainline by Paolo Bonzini's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00949.html
It should probably be applied to the 3.4 branch as well,
although I did not try that yet.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gcc dot gnu dot
| |org, mark at codesourcery
| |dot com, reichelt at gcc dot
| |gnu dot org
Keywords| |monitored
Summary|[3.4 Regression] GCSE breaks|[3.4 Regression] ICE with
|SSE2 intrinsics |SSE2 intrinsics
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (2 preceding siblings ...)
2004-08-20 12:43 ` [Bug target/17113] [3.4 Regression] ICE with " reichelt at gcc dot gnu dot org
@ 2004-08-20 17:35 ` bobm75 at gmail dot com
2004-08-20 18:21 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bobm75 at gmail dot com @ 2004-08-20 17:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bobm75 at gmail dot com 2004-08-20 17:35 -------
I just applied the patch from Paolo Bonzini to a fresh 3.4.1-release tree and it
fixes this bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (3 preceding siblings ...)
2004-08-20 17:35 ` bobm75 at gmail dot com
@ 2004-08-20 18:21 ` mmitchel at gcc dot gnu dot org
2004-08-23 8:02 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-20 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-20 18:21 -------
This patch is OK for 3.4.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (4 preceding siblings ...)
2004-08-20 18:21 ` mmitchel at gcc dot gnu dot org
@ 2004-08-23 8:02 ` reichelt at gcc dot gnu dot org
2004-08-23 8:07 ` paolo dot bonzini at polimi dot it
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-23 8:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-23 08:02 -------
Paolo, could you please apply your patch to the 3.4 branch?
Thanks!
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (5 preceding siblings ...)
2004-08-23 8:02 ` reichelt at gcc dot gnu dot org
@ 2004-08-23 8:07 ` paolo dot bonzini at polimi dot it
2004-08-24 10:51 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: paolo dot bonzini at polimi dot it @ 2004-08-23 8:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From paolo dot bonzini at polimi dot it 2004-08-23 08:07 -------
Subject: Re: [3.4 Regression] ICE with SSE2 intrinsics
> Paolo, could you please apply your patch to the 3.4 branch?
> Thanks!
Yes, will do soon. Thanks for reminding me.
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (6 preceding siblings ...)
2004-08-23 8:07 ` paolo dot bonzini at polimi dot it
@ 2004-08-24 10:51 ` cvs-commit at gcc dot gnu dot org
2004-08-24 14:21 ` pinskia at gcc dot gnu dot org
2004-08-26 4:03 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-24 10:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-24 10:51 -------
Subject: Bug 17113
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: bonzini@gcc.gnu.org 2004-08-24 10:51:04
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.md
Log message:
2004-08-24 Paolo Bonzini <bonzini@gnu.org>
PR target/17113
* config/i386/i386.md (movv16qi_internal): Fix typo.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.592&r2=2.2326.2.593
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.502.2.5&r2=1.502.2.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (7 preceding siblings ...)
2004-08-24 10:51 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-24 14:21 ` pinskia at gcc dot gnu dot org
2004-08-26 4:03 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-24 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-24 14:21 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/17113] [3.4 Regression] ICE with SSE2 intrinsics
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
` (8 preceding siblings ...)
2004-08-24 14:21 ` pinskia at gcc dot gnu dot org
@ 2004-08-26 4:03 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-26 4:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-26 04:03 -------
*** Bug 17197 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jochang at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113
^ permalink raw reply [flat|nested] 11+ messages in thread