Summary: |
Invalid OPCODE in assembly for x86_64 |
Product: |
Mesa
|
Reporter: |
Mikael Gerdin <mikael.gerdin> |
Component: |
Mesa core | Assignee: |
mesa-dev |
Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
git | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Backtrace and disassembly
|
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.
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.