Bug 15061 - Invalid OPCODE in assembly for x86_64
Summary: Invalid OPCODE in assembly for x86_64
Status: RESOLVED DUPLICATE of bug 8724
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-16 09:58 UTC by Mikael Gerdin
Modified: 2009-08-24 12:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Backtrace and disassembly (7.70 KB, text/plain)
2008-03-16 09:58 UTC, Mikael Gerdin
Details

Description Mikael Gerdin 2008-03-16 09:58:17 UTC
Created attachment 15185 [details]
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.
Comment 1 Roland Scheidegger 2008-03-16 18:48:07 UTC

*** This bug has been marked as a duplicate of bug 8724 ***
Comment 2 Adam Jackson 2009-08-24 12:29:38 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.