@orgin
Quote:
Well anyway if you really want to help you can read this message:
I read it. As I said, there ain't much information to go on.
And what there is doesn't make much sense.
Quote:
And tell us if know what's really going on in compemu_raw_x86.c
Nah. I just make it up as I go along.
Quote:
it shouldn't try to use the cpu as a 64 bit cpu
Right. This is one statement that doesn't make any sense.
The JIT doesn't try to use the CPU as a 64-bit CPU. In that version of E-UAE, the JIT doesn't support generating 64-bit code.
What it does do, is try to detect what CPU you have to make some optimal choices about how to generate 32-bit code. It tries to pick the best alignment for jumps and loops, for example.
The only difference between detecting a generic AMD processor and detecting an AMD64 processor is that with the latter it doesn't try to avoid generating code that does partial register writes. Now, it probably should, but I don't think it would make that much difference. (If you look at AMD's optimization docs, then not doing partial register writes is nowhere on their top ten of sins). Besides which, on my AMD64 box running Ubuntu 8.04 (the same as you) a 32-bit build of E-UAE just flies.
What I think might be more likely to be a problem is with reading the TSC on your dual-CPU box. You could try setting 'x86.use_tsc=false' in your config file to verify this.
Whatever. If you really want some help solving this problem, you'll need to provide more useful information than "It's slow". Precisely what CPU do you have, for instance? How about a diff containing the changes you made to the source code? I'm not a mind reader.