19-Apr-2024 16:45 GMT.
UNDER CONSTRUCTION
Anonymous, there are 11 items in your selection
[Files] 2nd JIT UAE Alpha availableANN.lu
Posted on 25-Aug-2000 13:23 GMT by Christian Kemp11 comments
View flat
View list
Bernie Meyer writes in comp.sys.amiga.misc: After almost 600 successful downloads of the first Alpha version of the JIT-UAE (also known as "Bobvou", or "Bernie's own bastardized version of UAE"), it's time to release the second Alpha. This is mostly a hack that adds just-in-time compilation to the Linux version of UAE, making it a lot faster than the traditional UAE. Read more below.
From: bmeyer@cs.monash.edu.au
Subject: JIT UAE, 2nd Alpha available
Date: 25 Aug 2000 00:00:00 GMT
Message-ID: <8o3iok$fu6$1@wombat.cs.monash.edu.au>
Sender: bmeyer@bruce.cs.monash.edu.au
X-Trace: news0.optus.net.au 967137504 130.194.64.203 (Fri, 25 Aug 2000 03:18:24 EST)
Organization: This is innd taking over...
NNTP-Posting-Date: Fri, 25 Aug 2000 03:18:24 EST
Reply-To: bmeyer@cs.monash.edu.au
Newsgroups: comp.sys.amiga.misc

After almost 600 successful downloads of the first Alpha version of
the JIT-UAE (also known as "Bobvou", or "Bernie's own bastardized
version of UAE"), it's time to release the second Alpha.

New in this version, titled the "Charlton Athletic" version:

* Fixed a silly bug in the MOVE.W Dx,Ax instruction. Thanks to
Tim Boescke from my home university back in Germany for sending
me a demo that showed faulty behaviour!

* Improved performance! Yes, I have been hunting down a few more
bottlenecks, and many things are now even faster, some up to 50%,
with 20-30% the most common range.

* Now built from 0.8.14 sources, and patches much cleaner against the
original source (considerably fewer unnecessesarily changed source
lines). This means you *should* get AGA. It doesn't work for me,
but then again, it doesn't work for me even when using pristine 0.8.14
sources.

* Slightly less immature DGA2 version. Sheesh, maybe I should have tested
that one a bit more for the last release --- after 36 hours of straight
hacking, I missed some of the more glaring problems.... Still not
really production quality (and probably will never be --- current
X Servers are kinda lame when implementing DGA2!)

* Improved sound code. Instead of dropping sound blocks, this version
instead slows down emulated time a bit. The results sound OK to me,
but I have very little to test with.

* override-dga-address now also works for the Xwin version. Yeah, I
upgraded one of my machines to XFree86 4.0, and yeah, it screws
up the DGA thing even in DGA1 emulation ;-)

* UAE is now slightly less wasteful with your memory --- the previous
version used 24MB for "tag ram" for the "cache". That has been reduced
to 6MB in this version. You can adjust it by changing TAGMASK in
newcpu.c. It's a memory vs speed tradeoff thing....


The more interesting changes, however, are in the source code:

* Major code cleanup
* Minimized changes to UAE's gencpu; Noflags versions of traditional
emulation are now built from the same source as fullflags versions
* Split compemu_support.c into two parts, one x86 specific, one
generic. This should make adding support for other target CPUs
much easier. Probably not complete yet, need someone to implement
a different backend to work out all the x86 assumptions still
in the generic part. Also, there is extremely x86 specific code
still in newcpu.c.
* Added support for improved register allocation and peephole optimization
to compemu_support.c. It's so good that it slows things down 10-20%.
Oops! Disabled by default (USE_OPTIMIZER in compemu.h). For a bit of
a puzzle, try to work out how (and why) MIDFUNC works when the optimizer
is enabled ;-)
* Replaced call/return with jmp/jmp for compiled code. Less uops.
* Added code equivalent to do_cycles/cache_tags lookup at the end of
each compiled block; This avoids jump mispredictions, and thus saves
a ridiculous amount of cycles
* Removed compiler side loop unrolling --- the benefits were small, and
the whole copout/emit_coputs thing was a nightmare with the optimizer
code. Minor optimization for tight loops is still there.
* 68k flag generation now avoids the partial register stall both in
optflags* (m68k.h) and flags_to_stack (compemu_raw*).
* Setting bits in regs.spcflags will now force a do_cycles() in compiled
code. Thus no need to check for the (very rare) regs.spcflags!=0.
* DGA2 code will now fill small rectangles "by hand", to avoid the
X call overhead. Much improved speed.

So if you are looking for a faster way to run those Amiga programs --- go
and get the "Charlton Athletic" release (about 2.5M) from

http://byron.csse.monash.edu.au/uae-JIT_CA.tar.gz

(As before, you get binaries for the Xwin and the DGA2 versions, and the
complete source tree). You are encouraged to try and rebuild from the
sources. If that fixes a problem for you (or breaks something that works
with the binaries), drop me a note about the problem, the compiler version,
the libraries on your system etc, please.

Alternatively, you might just want to download a set of patches against
pristine, Bernd-Schmidt-released UAE 0.8.14 sources (about 100k), available
from

http://byron.csse.monash.edu.au/uae-JIT_CA.patch.gz



Let me use this opportunity to beg for more feedback! Getting one single
bug report from roughly 600 completed downloads would seem to imply that
the previous version was virtually bug free --- which I won't believe
for one second, considering the size and scope of the changes, and the
complexity of the whole thing. So if you try to run your favourite program,
and it doesn't work as it should --- tell me! How else will I ever be able
to find those "undocumented features"?

Good luck,


Bernie


P.S.: Did I mention that Intel made a few truely stupid design decisions
for the P6 core? Geez, some aspects of that thing really SUCK!
I *hate* "partial rat stalls"! Give me a nice, clean RISC core any
day....


--
The right to be heard does not automatically include the right to be
taken seriously
Hubert Humphrey
American Democratic politician

Category: misc/emu
License: Free
Full Release (2.5M)
UAE 0.8.14 patch (100k)
2nd JIT UAE Alpha available : Comment 1 of 11ANN.lu
Posted by Anonymous on 24-Aug-2000 22:00 GMT
Now, as Brian King got diverted ;), who will put it into WinUAE?
2nd JIT UAE Alpha available : Comment 2 of 11ANN.lu
Posted by Mark Olsen on 24-Aug-2000 22:00 GMT
In reply to Comment 1 (Anonymous):
Who wants WinUAE anyways ?
Make PPC dynamic recompilation so i finally can play Lotus in full speed ! :)
2nd JIT UAE Alpha available : Comment 3 of 11ANN.lu
Posted by Christian Kemp on 24-Aug-2000 22:00 GMT
In reply to Comment 2 (Mark Olsen):
> Who wants WinUAE anyways ?
A JIT WinUAE that ran Amiga software at decent speed would be the only Amiga
I'd even consider at this point in time. The traditional WinUAE is too slow,
and there's no way I'm going back to using hardware that is several years old,
and shows its age (both performance- and reliability-wise).
2nd JIT UAE Alpha available : Comment 4 of 11ANN.lu
Posted by Björn Hagström on 24-Aug-2000 22:00 GMT
In reply to Comment 2 (Mark Olsen):
> Who wants WinUAE anyways ?
I do.
/Björn
2nd JIT UAE Alpha available : Comment 5 of 11ANN.lu
Posted by Mark Olsen on 24-Aug-2000 22:00 GMT
In reply to Comment 3 (Christian Kemp):
No, really, I didn't mean that question. I forgot the ":)" after that line.
I myself do find WinUAE useful if I am at a place where there only is Wintel machines.
But i do prefer Sam's UAE port :)
2nd JIT UAE Alpha available : Comment 6 of 11ANN.lu
Posted by Anonymous on 24-Aug-2000 22:00 GMT
In reply to Comment 5 (Mark Olsen):
Sam's?
2nd JIT UAE Alpha available : Comment 7 of 11ANN.lu
Posted by Per Lindén on 24-Aug-2000 22:00 GMT
I think he means Sam Jordan, the man behind WarpUP. I believe that he has ported UAE to WarpUP.
2nd JIT UAE Alpha available : Comment 8 of 11ANN.lu
Posted by Mark Olsen on 25-Aug-2000 22:00 GMT
In reply to Comment 7 (Per Lindén):
Correct and correct :)
2nd JIT UAE Alpha available : Comment 9 of 11ANN.lu
Posted by XDelusion on 25-Aug-2000 22:00 GMT
Here is what I would DIE to see, or maybe partially die for...
A in depth guide on setting up UAE in Linux, I could never figure out how to set up the
virtual hard drives for one, and beyond that I don't know what other trouble I might run into
so a guide is MUCh needed. It is not like this is WinUAE where everything is laid out for you.
Please someone help!!!! :/
2nd JIT UAE Alpha available : Comment 10 of 11ANN.lu
Posted by MIKE on 26-Aug-2000 22:00 GMT
In reply to Comment 9 (XDelusion):
Edit .uaerc file in the uae home dir., all the settings are in that file.
Regards
MIKE
2nd JIT UAE Alpha available : Comment 11 of 11ANN.lu
Posted by XDelusion on 28-Aug-2000 22:00 GMT
In reply to Comment 10 (MIKE):
Thankx, I see where the settings are, but how do you make Har Drive images in Linux?
Also how do you aply this patch!?
Anonymous, there are 11 items in your selection
Back to Top