http://bugs.freedesktop.org/show_bug.cgi?id=15061

           Summary: Invalid OPCODE in assembly for x86_64
           Product: Mesa
           Version: CVS
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=15185)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15185)
Backtrace and disassembly

System: Ubuntu 8.04 development version amd64 arch.
CPU: Intel Core2 Duo
Graphics: Intel i945

The file src/mesa/x86-64/xform4.S in Mesa contains at least one Opcode that is
AMD-specific (pfmul, pfadd is 3DNow only). Since x86_64 is no longer
AMD-specific this causes an invalid opcode exception and the program crashes.
I'll attach a backtrace + disassembly showing where the problem appears.


To reproduce:
Run any opengl-app that uses _mesa_x86_64_transform_points4_3d_no_rot on a
x86-64 machine, with 64-bit userland and an Intel CPU.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to