This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]