Bug 6275

Summary: BTS opcode not handled correctly by x86emu
Product: xorg Reporter: Felix Kuehling <fkuehlin>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Enable correct handling of the BTS instruction (opcode 0f ab) none

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.