http://bugs.winehq.com/show_bug.cgi?id=1667
------- Additional Comments From Andrew.Talbot@talbotville.com 2003-17-12 12:16 ------- Mike,
I am not a developer, more of an end user with a little knowledge - which, as we all know, is a dangerous thing. So, I shall own up that I am really out of my depth here. I don't want to fill this thread with dubious or speculative information. My last effort would be to ask you to consider submitting a patch to remove the two divisions by 1000, for now, to see what the aftermath is.
One final comment, which may or may not be relevant to why some apps crash without the division: because modern processors can execute instructions out of sequence, it might be necessary to immediately precede the RDTSC with a CPUID instruction to serialise it.
It might be worthwhile taking the issue to the wider community. Would you be willing to post something to the developers' forum featured in the Wine Weekly Newsletter?
-- Andy.