Almos and I don't really know. I'm just building it against a G5 target (-mcpu=970) and also with -mno-powerpc64 (otherwise the mouse movements are inverted). If the PA6T has other missing instructions (other than mcrxr) that get emulated by the OS, then it could be sped up further. Tobias Netzel wrote an mcrxr replacement function for G5 CPUs.
That's not the right way of wording it. G5 and PA6T don't have an mcrxr function. From what I've read, the operating system traps and emulates that function.
Going by that last link, it's the trapping that slows it right down. Avoiding the use of that function altogether is much faster.
So for E-UAE, Tobias wrote a replacement function that does the work of what mcrxr would do, using other CPU instructions instead. That way, E-UAE never even tries using mcrxr when _ARCH_PWR4 is defined at build time (which gets included when you use -mcpu=970).
tommysammy notified me about some problems with the X1000 builds I did. Anyone who got an e-mail before will receive another one very soon.
Edit: Emails sent. It's related to the issue I had with ffmpeg. I think it's the binutils I have causing an issue at the linking stage if certain flags are used (altivec). Altivec flags aren't needed to build e-uae but I used them as an experiment.
Edit 2: Probably not binutils but libgcc.a?
Edited by MickJT on 2014/7/26 17:06:01 Edited by MickJT on 2017/11/25 11:06:27
Thanks a lot all involved ! For example TBL Starstruck demo plays perfectly on X1000. So JIT really makes difference when UAE is compiled properly to different CPU's.
Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
@samo79 Just a quick test as I don't use UAE a lot.
I have 2 setup WB31 and WB39. With standard UAE and X1000 one, I use the same UAE.rc config
With standard UAE WB31 & WB39 are windowed and nice colors/resolution (UAEGFX 1024x768 32bits), full-screen works fine.
With standard UAE WB31 & WB39 are full-screen with white big borders and bad colors/resolution (PAL Low resolution), no way to switch fullscreen/windowed with CTRL-ALT-S keys
Have the rc files have to be modified with this new version ?
Forgot to say I PM'ed you yesterday (if you didn't notice already). How did you get Rift working ? It gets stuck when black dressed woman is displayed on my machine.
Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
@TSK thank you, I had read the ReadMe, especially that :
"You can reuse the same configuration files, HD image files, prepared folders that were already working with the previous E-UAE version."
Now, I will try that :
However, for testing the JIT implementation please make sure you set up the configuration exactly as listed below: cpu_speed=max cpu_type=68020 (or 68EC020, 68040, see Known issues) cpu_compatible=false cpu_cycle_exact=false blitter_cycle_exact=false comp_optimize=true cachesize=8192 (or higher) comp_constjump=yes comp_trustbyte=indirect (see Known issues) comp_trustword=indirect comp_trustlong=indirect