[Mono-bugs] [Bug 691057] Wrong result of SIMD operations on Intel Core/Core 2 while 100% proper on Opteron

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 2 22:10:44 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=691057

https://bugzilla.novell.com/show_bug.cgi?id=691057#c11


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |rkumpera at novell.com

--- Comment #11 from Rodrigo Kumpera <rkumpera at novell.com> 2011-05-03 02:10:40 UTC ---
This is a x86 bug. I got a small enough repro that makes it possible to easily
fix it.
I'm working on it.

using System;
using Mono.Simd;

class Body
{
    public Vector2d Pxy;
    public Vector2d Pz0;
    public Vector2d Vxy;
    public Vector2d Vz0;
    public Vector2d MassMass;

}

class Driver {
    static void Main () {
        var bb = new Body ();
        bb.MassMass = new Vector2d (39.4784176043574, 39.4784176043574);

        var pxy = new Vector2d (0,0);

        pxy.X += bb.Vxy.X * bb.MassMass.X;
        pxy.Y += bb.Vxy.Y * bb.MassMass.X;

        Console.WriteLine (pxy);
    }
}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list