public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25350]  New: Can't include mmintrin.h
@ 2005-12-11 13:14 gcc-bugzilla at gcc dot gnu dot org
  2005-12-12 19:36 ` [Bug target/25350] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2005-12-11 13:14 UTC (permalink / raw)
  To: gcc-bugs


  when trying to include file mmintrin.h in any file, compilation fails with
the following message:

mmintrin.h: In function '_mm_add_si64':
mmintrin.h:280: error: can't convert between vector values of different size
mmintrin.h: In function '_mm_sub_si64':
mmintrin.h:382: error: can't convert between vector values of different size

        It works okay with older versions of gcc, and fails with 4.2.0 20051211
both with the
include file that ships with it and with it's older versions.

Environment:
System: Linux amazonia 2.6.10-5-386 #1 Mon Oct 10 11:15:41 UTC 2005 i686
GNU/Linux
Architecture: i686

host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-languages=c --disable-nls
--prefix=/home/glauber/usr

How-To-Repeat:
        create a file containing the single directive #include <mmintrin.h> and
compile it 
        with gcc -msse  <filename>


-- 
           Summary: Can't include mmintrin.h
           Product: gcc
           Version: 2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: glommer at gmail dot com
 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=25350


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

* [Bug target/25350] [4.2 Regression] Can't include mmintrin.h
  2005-12-11 13:14 [Bug c/25350] New: Can't include mmintrin.h gcc-bugzilla at gcc dot gnu dot org
@ 2005-12-12 19:36 ` pinskia at gcc dot gnu dot org
  2005-12-13  1:18 ` glommer at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-12 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-12 19:36 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00659.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |12/msg00659.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-12 19:36:40
               date|                            |
            Summary|Can't include mmintrin.h    |[4.2 Regression] Can't
                   |                            |include mmintrin.h
   Target Milestone|---                         |4.2.0


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


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

* [Bug target/25350] [4.2 Regression] Can't include mmintrin.h
  2005-12-11 13:14 [Bug c/25350] New: Can't include mmintrin.h gcc-bugzilla at gcc dot gnu dot org
  2005-12-12 19:36 ` [Bug target/25350] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2005-12-13  1:18 ` glommer at gmail dot com
  2005-12-14 22:15 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: glommer at gmail dot com @ 2005-12-13  1:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from glommer at gmail dot com  2005-12-13 01:18 -------
Ok, the patch worked perfectly here.

(In reply to comment #1)
> Patch posted:
> http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00659.html
> 

(In reply to comment #1)
> Patch posted:
> http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00659.html
> 


-- 

glommer at gmail dot com changed:

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


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


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

* [Bug target/25350] [4.2 Regression] Can't include mmintrin.h
  2005-12-11 13:14 [Bug c/25350] New: Can't include mmintrin.h gcc-bugzilla at gcc dot gnu dot org
  2005-12-12 19:36 ` [Bug target/25350] [4.2 Regression] " pinskia at gcc dot gnu dot org
  2005-12-13  1:18 ` glommer at gmail dot com
@ 2005-12-14 22:15 ` pinskia at gcc dot gnu dot org
  2005-12-21 19:54 ` jsm28 at gcc dot gnu dot org
  2005-12-23  0:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 22:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-12-14 22:15 -------
This causes the following testsuite errors:
FAIL: gcc.target/i386/3dnow-1.c (test for excess errors)
FAIL: gcc.target/i386/3dnow-2.c (test for excess errors)
FAIL: gcc.target/i386/3dnowA-1.c (test for excess errors)
FAIL: gcc.target/i386/3dnowA-2.c (test for excess errors)
FAIL: gcc.target/i386/mmx-1.c (test for excess errors)
FAIL: gcc.target/i386/mmx-2.c (test for excess errors)
FAIL: gcc.target/i386/mmx-4.c (test for excess errors)
WARNING: gcc.target/i386/mmx-4.c compilation failed to produce executable
FAIL: gcc.target/i386/mmx-5.c (test for excess errors)
FAIL: gcc.target/i386/pr13366.c (test for excess errors)  
FAIL: gcc.target/i386/sse-1.c (test for excess errors)
ERROR: gcc.target/i386/sse-1.c: error executing dg-final: couldn't open
"sse-1.s": no such file or directory
FAIL: gcc.target/i386/sse-13.c (test for excess errors)
FAIL: gcc.target/i386/sse-14.c (test for excess errors)
FAIL: gcc.target/i386/sse-2.c (test for excess errors)  
FAIL: gcc.target/i386/sse-3.c (test for excess errors)  
WARNING: gcc.target/i386/sse-3.c compilation failed to produce executable
FAIL: gcc.target/i386/sse-7.c (test for excess errors) 
WARNING: gcc.target/i386/sse-7.c compilation failed to produce executable
FAIL: gcc.target/i386/sse-9.c (test for excess errors)  
WARNING: gcc.target/i386/sse-9.c compilation failed to produce executable


-- 


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


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

* [Bug target/25350] [4.2 Regression] Can't include mmintrin.h
  2005-12-11 13:14 [Bug c/25350] New: Can't include mmintrin.h gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-12-14 22:15 ` pinskia at gcc dot gnu dot org
@ 2005-12-21 19:54 ` jsm28 at gcc dot gnu dot org
  2005-12-23  0:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-12-21 19:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2005-12-21 19:54 -------
In addition to the listed C failures, this is probably also responsible for the
C++ regressions

FAIL: g++.dg/opt/mmx2.C (test for excess errors)
FAIL: g++.dg/other/mmintrin.C (test for excess errors)

appearing at the same time.


-- 

jsm28 at gcc dot gnu dot org changed:

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


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


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

* [Bug target/25350] [4.2 Regression] Can't include mmintrin.h
  2005-12-11 13:14 [Bug c/25350] New: Can't include mmintrin.h gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-12-21 19:54 ` jsm28 at gcc dot gnu dot org
@ 2005-12-23  0:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-23  0:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-12-23 00:36 -------
Fixed by:
        * config/i386/mmintrin.h (_mm_add_si64): Only define for SSE2.
        (_mm_sub_si64): Likewise.
        * config/i386/xmmintrin.h (_mm_shuffle_pi16, _m_pshufw): Likewise.

        * gcc.target/i386/sse-7.c: Use -msse2.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-12-23  0:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-11 13:14 [Bug c/25350] New: Can't include mmintrin.h gcc-bugzilla at gcc dot gnu dot org
2005-12-12 19:36 ` [Bug target/25350] [4.2 Regression] " pinskia at gcc dot gnu dot org
2005-12-13  1:18 ` glommer at gmail dot com
2005-12-14 22:15 ` pinskia at gcc dot gnu dot org
2005-12-21 19:54 ` jsm28 at gcc dot gnu dot org
2005-12-23  0:36 ` 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).