Bug 6275 - BTS opcode not handled correctly by x86emu
Summary: BTS opcode not handled correctly by x86emu
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 09:26 UTC by Felix Kuehling
Modified: 2006-03-15 10:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Enable correct handling of the BTS instruction (opcode 0f ab) (1.03 KB, patch)
2006-03-15 09:29 UTC, Felix Kuehling
no flags Details | Splinter Review

Description Felix Kuehling 2006-03-15 09:26:47 UTC
I'm about to attach a patch that enables correct handling of the BTS (atomic bit
test and set) instruction in the x86 emulator. This is needed for correct
execution of an ATI video BIOS on x86_64.

This change was developed and tested on the Xorg 6.9 release, but the source
file in question hasn't changed since the release. So the patch is against CVS HEAD.
Comment 1 Felix Kuehling 2006-03-15 09:29:26 UTC
Created attachment 4943 [details] [review]
Enable correct handling of the BTS instruction (opcode 0f ab)

The code was there but #ifdefed out. Insead of BTS, BT was executed. This patch
enables the BTS function and hooks it up the the correct opcode.
Comment 2 Felix Kuehling 2006-03-16 05:50:05 UTC
The patch in the attachment was committed to Xorg CVS HEAD.


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.