*** gnucode <gnucode!~gnucode@user/jab> has quit IRC | 00:20 | |
*** gnucode <gnucode!~gnucode@user/jab> has joined #libre-soc | 00:20 | |
programmerjake | well, my build server randomly crashed for the 3rd or 4th time, I found no indication of what went wrong in any of the logs, and the temperature logging I added said the temperature was fine... | 02:28 |
---|---|---|
programmerjake | I'm thinking it's time to replace the motherboard and cpu with the ones from my old desktop ... even if piledriver is less likely to be able to be hacked/backdoored, having to constantly manually turn it on again is imho too much. also, the replacement system has more ram and is probably 2x faster. | 02:30 |
programmerjake | lkcl: thank you for fixing the broken tests! | 02:47 |
*** gnucode <gnucode!~gnucode@user/jab> has quit IRC | 02:51 | |
*** libredev <libredev!libredev@libredev.ircforever.org> has quit IRC | 09:03 | |
*** leohoo_sdu[m] <leohoo_sdu[m]!~leohoosdu@2001:470:69fc:105::3:56ef> has joined #libre-soc | 09:29 | |
*** libredev <libredev!libredev@ircforever.org> has joined #libre-soc | 10:02 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 10:05 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.43.36> has joined #libre-soc | 10:06 | |
programmerjake | the internet is currently down here, so sorry if anyone needed the build server... | 11:09 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.43.36> has quit IRC | 11:59 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 11:59 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 12:02 | |
*** ghostmansd[hexch <ghostmansd[hexch!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 12:03 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 12:06 | |
*** ghostmansd[pc] <ghostmansd[pc]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 12:10 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 12:12 | |
*** ghostmansd[hexch <ghostmansd[hexch!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 12:14 | |
*** ghostmansd[hexch <ghostmansd[hexch!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 12:15 | |
*** ghostmansd[pc] <ghostmansd[pc]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 12:15 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 12:19 | |
*** ghostmansd[hexch is now known as ghostmansd | 13:43 | |
ghostmansd | lkcl, a quick question: why is self.insnlog established inside execute_one()? I suspect you circumvent it by using append mode for stream, but shouldn't we rather establish the stream before executing anything? | 14:29 |
*** octavius <octavius!~octavius@194.168.214.158> has joined #libre-soc | 14:55 | |
octavius | vaino[m], as promised, the video on Microwatt simulation :) | 15:11 |
octavius | https://youtu.be/02LCl3ang8g | 15:11 |
ghostmansd | programmerjake, lkcl, it seems that ISACaller is used not only by tests. I think nmutil.get_test_path is not a real option. How about creating a temporary file per ISA class instance? | 15:24 |
vaino[m] | octavius: thanks, I'll check it out :) | 15:35 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 15:36 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.174.142> has joined #libre-soc | 15:37 | |
octavius | ghostmansd, lkcl here : just pass in the filename as an option to ISACaller | 15:41 |
octavius | (put it at the end on the list of arguments) | 15:41 |
octavius | default to None | 15:41 |
octavius | you get the idea | 15:41 |
*** octavius <octavius!~octavius@194.168.214.158> has quit IRC | 15:58 | |
*** psydroid <psydroid!~psydroid@user/psydroid> has joined #libre-soc | 17:19 | |
*** psydroid <psydroid!~psydroid@user/psydroid> has quit IRC | 18:04 | |
programmerjake | ghostmansd: just pass the filename into ISACaller and use nmutil.get_test_path in TestRunnerBase | 18:14 |
programmerjake | inside the with self.subTest block | 18:15 |
programmerjake | you may need to add a function to ISACaller to close the old file and open a new file with passed-in filename | 18:16 |
*** leohoo_sdu[m] <leohoo_sdu[m]!~leohoosdu@2001:470:69fc:105::3:56ef> has quit IRC | 18:49 | |
lkcl | ghostmansd, eslf.insnlog is per-instruction, and i happen to know that execute_one() is the main "execute one instruction" entry-point | 20:42 |
lkcl | https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/pypowersim.py;h=fed3091f83ea7c19cbace36f65c02f7751be68d7;hb=1a96d4f3a63c17054c0f176909e3284c3b5c7831#l219 | 20:43 |
lkcl | therefore, at the *start* of execute_one() the (copy of) the disassembled instruction is placed as the first (and only) entry, overwriting whatever was in it previously | 20:44 |
lkcl | at various points within the "yield from self.call(opname)" additional "stuff" will be appended | 20:45 |
lkcl | (registers read, registers written) | 20:45 |
lkcl | and towards the end of execute_one you write out the entire contents of self.insnlog to the log file | 20:45 |
lkcl | (only if self.insnlog_file has been initialised, obviously). | 20:45 |
lkcl | open /tmp/inslog.txt is obviously intended as a proof-of-concept hack | 20:46 |
lkcl | to be entirely replaced, but i wanted you to at least know *where* the replacement code should go | 20:47 |
lkcl | as it's not immediately obvious | 20:47 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.174.142> has quit IRC | 23:32 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 23:32 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!