patch applied (ghc-6.6/ghc): use " lock cmpxchg"
instead of " lock/cmpxchg"
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Nov 23 09:38:51 EST 2006
Hello Christian,
Thursday, November 23, 2006, 4:23:50 PM, you wrote:
>> may be, it is possible to use 'db' here to generate required prefix?
>> it should reliably work across all platforms
> I don't know what you mean, but I'll try out another patch if it helps.
> 2a0: f0 0f b1 0d 1c 00 00 lock cmpxchg %ecx,0x1c
instead of this assembler code you can use the following:
db 0F0h
cmpxchg %ecx,0x1c
or something like this, converting the "lock" prefix into the "db"
directive that generates this prefix
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Cvs-ghc
mailing list