Thread overview
[Issue 9301] New: using XMM.PSHUFD results in an internal compiler error
Jan 12, 2013
Walter Bright
January 12, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9301

           Summary: using XMM.PSHUFD results in an internal compiler error
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: jerro.public@gmail.com


--- Comment #0 from jerro.public@gmail.com 2013-01-12 07:03:51 PST ---
The following code causes an internal compiler error with DMD 2.061:

import core.simd;

void main()
{
    int4 a;
    __simd(XMM.PSHUFD, a, 0x0);
}

The compiler outputs:

Internal error: e2ir.c 3882

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 12, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9301



--- Comment #1 from jerro.public@gmail.com 2013-01-12 07:55:56 PST ---
This code probably shouldn't even compile, since pshufd needs to arguments, not one. But because the code results in an ICE, not an error message, I think this is a bug in the compiler.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 12, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9301


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2013-01-12 11:59:27 PST ---
You are correct in that ICE's are always compiler bugs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------