http://bugzilla.novell.com/show_bug.cgi?id=521662


           Summary: invalid opcode generated for x86 SSE intruction PMINSW
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: JIT
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Description of Problem:

this code throws System.ExecutionEngineException SIGILL (x86):

using System;
using Mono.Simd;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            Vector8s v = new Vector8s(0);
            v = v.Min(v);  // << exception here
        }
    }
}




How often does this happen? 
100%

Additional Information:

in file trunk\mono\arch\x86\x86-codegen.h lines 1759-1760:
        X86_SSE_PMINSW = 0x39, 
    X86_SSE_PMINSD = 0xEA,/*sse41*/

according to intel sse programming reference should be:
X86_SSE_PMINSW = 0x39, 
    X86_SSE_PMINSD = 0xEA,/*sse41*/

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to