Monday, 2022-10-31

*** mx08 <mx08!~mx08@user/mx08> has joined #libre-soc03:28
*** ghostmansd <ghostmansd!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has joined #libre-soc07:26
*** ghostmansd <ghostmansd!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has quit IRC07:32
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has quit IRC07:34
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has joined #libre-soc07:35
*** markos <markos!~Konstanti@static062038151250.dsl.hol.gr> has joined #libre-soc07:37
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has quit IRC12:04
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has joined #libre-soc12:06
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has quit IRC12:10
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has joined #libre-soc12:10
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has quit IRC14:14
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has joined #libre-soc14:15
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.61> has quit IRC14:35
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has joined #libre-soc14:35
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has quit IRC15:13
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has joined #libre-soc15:13
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has quit IRC15:18
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.112> has joined #libre-soc15:18
*** tplaten <tplaten!~isengaara@55d41f18.access.ecotel.net> has joined #libre-soc15:47
*** EmanuelLoos[m] <EmanuelLoos[m]!~emanuel-l@2001:470:69fc:105::6260> has quit IRC16:00
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.112> has quit IRC16:32
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has joined #libre-soc16:32
*** octavius <octavius!~octavius@158.147.93.209.dyn.plus.net> has joined #libre-soc16:44
*** ghostmansd <ghostmansd!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has joined #libre-soc17:08
ghostmansd[m]Just returned to shadd and shadduw. Do we have some options to debug code in mdwn?17:34
ghostmansd[m]Ok, apparently I can edit the generated py files. Good enough for me.17:46
*** tplaten <tplaten!~isengaara@55d41f18.access.ecotel.net> has quit IRC17:50
*** tplaten <tplaten!~isengaara@55d41f18.access.ecotel.net> has joined #libre-soc17:51
octaviusI'll make the ls004 draft18:08
*** octavius_ <octavius_!~octavius@158.147.93.209.dyn.plus.net> has joined #libre-soc18:45
*** octavius <octavius!~octavius@158.147.93.209.dyn.plus.net> has quit IRC18:45
*** octavius_ <octavius_!~octavius@158.147.93.209.dyn.plus.net> has quit IRC18:50
*** octavius <octavius!~octavius@158.147.93.209.dyn.plus.net> has joined #libre-soc18:50
ghostmansdlkcl, somehow this code...19:18
ghostmansdRT <- (n[m:XLEN-1] || [0]*m) + (RA)19:18
ghostmansd...which is converted to this code...19:19
ghostmansdRT = concat(n[m:self.XLEN - 1 + 1], concat(0, repeat=m)) + RA19:19
ghostmansd...19:19
ghostmansdgets `0` after concat(0, repeat=m). Not SelectableInt(value=0, bits=1).19:20
ghostmansdAh I see, we fail to meet this: `if repeat != 1 and len(args) == 1 and isinstance(args[0], int):`19:22
ghostmansd?19:23
ghostmansdlet me check19:23
programmerjakeimho that pseudocode should be rewritten to not use variable-sized types to implement shifting, but instead use switch or ROTL64/MASK. it will be a major problem if/when we try to compile pseudocode to a statically typed language such as c19:24
programmerjakeXLEN stuff can be handled just like templates in c++, so isn't really a problem19:25
ghostmansdIndeed, this condition is not met19:27
ghostmansdXLEN is not the issue19:28
ghostmansdRepeat is 1, since we have ([0] * 1)19:28
ghostmansdAfter m value is read, it's 1 there19:28
ghostmansdFuck, I literally spent 3 hours debugging this19:32
programmerjake^ my experience debugging pseudocode too...hence why i want to rewrite the parser/translator to actually do type-checking/error-checking as part of getting a new c backend to go along with a python backend -- if it produces output at all, the output should not fail with random type errors like this19:39
*** jab <jab!~jab@user/jab> has joined #libre-soc19:54
programmerjakelkcl, i'll respond to https://bugs.libre-soc.org/show_bug.cgi?id=973#c3 later19:55
*** tplaten <tplaten!~isengaara@55d41f18.access.ecotel.net> has quit IRC20:10
*** ghostmansd <ghostmansd!~ghostmans@broadband-188-32-220-156.ip.moscow.rt.ru> has quit IRC21:15
*** octavius <octavius!~octavius@158.147.93.209.dyn.plus.net> has quit IRC21:51
*** mx08 <mx08!~mx08@user/mx08> has quit IRC23:09
*** mx08 <mx08!~mx08@user/mx08> has joined #libre-soc23:10

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!