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

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 1 14:18:00 GMT 2004


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



More information about the Gcc-bugs mailing list