tag:blogger.com,1999:blog-5052591504201077738.post2328713193355756179..comments2023-05-18T03:53:07.304+12:00Comments on The Big E-UAE JIT blog: Flag yeahÁlmos Rajnaihttp://www.blogger.com/profile/13385962754685794358noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-5052591504201077738.post-61462032595575007612013-01-05T09:15:03.038+13:002013-01-05T09:15:03.038+13:00I have fixed lots of bugs, yet there is work to do...I have fixed lots of bugs, yet there is work to do. But at least I have a clue now what is going on.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-72543797830325822412013-01-05T02:26:23.332+13:002013-01-05T02:26:23.332+13:00I.e. OS is almost booting or at least no reboot-lo...I.e. OS is almost booting or at least no reboot-loop anymore ?:)kas1ehttps://www.blogger.com/profile/06141071692883103173noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-34097120710668550612013-01-04T08:44:48.498+13:002013-01-04T08:44:48.498+13:00Not just yet, but getting closer. :)Not just yet, but getting closer. :)Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-1505552246925703762013-01-04T01:00:53.269+13:002013-01-04T01:00:53.269+13:00Hello,
any news there?
Hello,<br /><br />any news there?<br />The Rainbow UIhttps://www.blogger.com/profile/02623708043087623495noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-44242826719174029542012-12-19T22:55:19.032+13:002012-12-19T22:55:19.032+13:00Lets hope you solve it so we can have something to...Lets hope you solve it so we can have something to play with during christmas :)Joeledhttps://www.blogger.com/profile/03405523920029211069noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-41211566117893814962012-12-19T20:58:28.845+13:002012-12-19T20:58:28.845+13:00I asked Toni Wilen as kas1e suggested, if he had a...I asked Toni Wilen as kas1e suggested, if he had any idea. He replied immediately and gave me some hints where to look.<br />I have got nowhere yet, haven't had too much time either. Luckily, the Xmas holiday season is coming... :)Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-81848568298377530262012-12-19T10:40:25.413+13:002012-12-19T10:40:25.413+13:00How did it go?How did it go?Joeledhttps://www.blogger.com/profile/03405523920029211069noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-54865611715366606002012-12-03T19:56:06.898+13:002012-12-03T19:56:06.898+13:00Thanks, I will drop him a few lines.Thanks, I will drop him a few lines.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-38903511546430623002012-12-03T03:35:23.848+13:002012-12-03T03:35:23.848+13:00Its mostly one man works on it : Toni Wilen, and h...Its mostly one man works on it : Toni Wilen, and he is pretty active today still (he also make a lot of stuff for AROS, to make it works on 68k/winaue), so he seems kind of person who know the roots and can be good just to talk about problems. He also active on eab.abime.net, so the chances are high to find him out :)kas1ehttps://www.blogger.com/profile/06141071692883103173noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-33595171174277073022012-12-01T09:22:41.218+13:002012-12-01T09:22:41.218+13:00I thought of that before, but I doubt they could h...I thought of that before, but I doubt they could help me. My implementation is significantly different than the x86 version, not to mention that it might be related to some register usage on PPC or similar problem.<br />Anyway, it might be a good idea. No high hopes though that they would reply.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-71090859895241744682012-12-01T08:53:30.998+13:002012-12-01T08:53:30.998+13:00Real hardcore ..
Btw, Almos, i am sure you know i...Real hardcore ..<br /><br />Btw, Almos, i am sure you know it and think about it already, but maybe it will worth to contact with let's say winaue jit author , and talks about those problems, maybe he as someone who already making jit (thorugh x86 one), can help somehow ?kas1ehttps://www.blogger.com/profile/06141071692883103173noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-37373855667418985072012-11-30T20:30:59.473+13:002012-11-30T20:30:59.473+13:00There is not much to report, no visible improvemen...There is not much to report, no visible improvement yet.<br />I started to implement what I mentioned earlier: collecting the full debug log of every executed instruction. It is saved into a file, while the Kickstart reaches the insert disk screen it grows to a roughly 300 MB binary dump.<br /><br />Since this debug dump is not human-readable I also created a tool that can be used for comparing the debug dumps, parsing them and listing the registers and the executed instructions around the differences.<br /><br />There is one problem though (which could be foreseen): right now every time I start the emulation it creates a slightly different log, due to the emulated environment (like mouse movements, timers, hardware speed, etc.)<br />Now, this could be eliminated but it takes a while to figure out what "entropy collectors" are fed to the emulation and get rid of them without stopping the OS from booting.<br /><br />I am working on this right now. As soon as this problem is solved I can compare the interpretive execution with the JIT translated one and see where the difference is exactly. Of course there is no guarantee whatsoever that I will be able to track down the bug by this method, but I don't have much choice at the moment.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-78565352073158987192012-11-30T03:31:19.567+13:002012-11-30T03:31:19.567+13:00Any progress? Been 3 weeks now and santa wanna kno...Any progress? Been 3 weeks now and santa wanna know if he is going to be able to play whdload games this year with JIT? ;)Joeledhttps://www.blogger.com/profile/03405523920029211069noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-42491003705217677642012-11-26T21:59:35.265+13:002012-11-26T21:59:35.265+13:00The OS is certainly doing cache flushes, but if th...The OS is certainly doing cache flushes, but if that memory area wasn't executed before then it is not in the compiled code cache yet. Instruction cache flush is throwing away the whole compiling buffer for now, so this shouldn't be an issue.<br />In the meanwhile I have checked the integrity of the compiled code chunks, everything seems fine.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-62375397890399422142012-11-26T21:52:35.019+13:002012-11-26T21:52:35.019+13:00"in case the OS is copying some self-modifyin..."in case the OS is copying some self-modifying code into the RAM, but I highly doubt that since the instruction cache is on and there were no cache flushing"<br /><br />The OS should be doing quite some cache flushes during boot process from very early on when doing things like building library jump tables.<br />Georghttps://www.blogger.com/profile/16236379516399125625noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-10890307317895765552012-11-16T21:19:24.170+13:002012-11-16T21:19:24.170+13:00Well, E-UAE is not perfect... :)Well, E-UAE is not perfect... :)Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-61710005201578846832012-11-16T07:54:02.075+13:002012-11-16T07:54:02.075+13:00Can't get it to work in E-UAE. With JIT turne...Can't get it to work in E-UAE. With JIT turned off it just keeps resetting and with JIT turned on it stops at some point.<br />AROS kickstart would be very nice for debugging as it's source code is available and can be built using gcc.<br />The only AROS kickstart I got working is the FS-UAE builtin version. FS-UAE didn't work with other AROS ROMs.Tobiashttps://www.blogger.com/profile/02240455108133761542noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-54260746868412150242012-11-15T19:40:11.308+13:002012-11-15T19:40:11.308+13:00Ok, I give it a try. No high hopes, though.Ok, I give it a try. No high hopes, though.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-27473267939185260112012-11-15T09:03:08.064+13:002012-11-15T09:03:08.064+13:00It seems it should:
http://en.wikibooks.org/wiki/A...It seems it should:<br />http://en.wikibooks.org/wiki/Aros/Platforms/68k_support#UAE_E-UAETobiashttps://www.blogger.com/profile/02240455108133761542noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-57769719065049101872012-11-13T21:54:11.330+13:002012-11-13T21:54:11.330+13:00Is that supposed to work with E-UAE? I have never ...Is that supposed to work with E-UAE? I have never tried that yet.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-13877100710258229352012-11-12T23:46:49.440+13:002012-11-12T23:46:49.440+13:00What about the AROS kickstart replacement?What about the AROS kickstart replacement?Tobiashttps://www.blogger.com/profile/02240455108133761542noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-63577696076572758332012-11-11T11:47:50.755+13:002012-11-11T11:47:50.755+13:00Maybe, but what can I test? It should be sufficien...Maybe, but what can I test? It should be sufficiently complex to the ROM boot process at least.<br />If you had any ideas, like a demo that does not use any OS functions with source code available or something similar then let me know.Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-56791390112807043272012-11-11T10:01:46.096+13:002012-11-11T10:01:46.096+13:00I think you need to make a test case, like you did...I think you need to make a test case, like you did whit the fractal code.LiveForIthttps://www.blogger.com/profile/09075874716167627128noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-18820829791041288252012-11-11T09:36:04.442+13:002012-11-11T09:36:04.442+13:00I tried to remove whatever I could. I managed to r...I tried to remove whatever I could. I managed to remove everything else than compiling simple branches to the interpretive instruction functions instead of calling them in a loop and the code cache look-up mechanism remained the same. I saved all the registers before executing any compiled code and restored before every C function calls. It cannot be simpler than this. I even manipulated the calculated processor clock steps to be exactly the same as it is in the normal loop. (Not that it would matter much.)<br /><br />I don't have the slightest clue why this is not working, basically it is equal to the normal loop which calls the instruction functions, except that the loop is unrolled into a series of calls.<br />What I might try: I could check the integrity of the executed code block, in case the OS is copying some self-modifying code into the RAM, but I highly doubt that since the instruction cache is on and there were no cache flushing (without flushing it wouldn't work on a real machine either).Álmos Rajnaihttps://www.blogger.com/profile/13385962754685794358noreply@blogger.comtag:blogger.com,1999:blog-5052591504201077738.post-25633695235564041422012-11-11T04:20:40.387+13:002012-11-11T04:20:40.387+13:00I assume you've tried the obvious, which is re...I assume you've tried the obvious, which is removing everything relevant, then adding bits 1 by 1 until it breaks? -MickJTAnonymousnoreply@blogger.com