github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
MasterDuke also, guess this isn't really a big deal at all, but we create 3 temps, but only ever use two 00:16
00:21 lucasb left 00:26 xinming left 00:27 xinming joined 00:31 MasterDuke left 00:38 xinming left 00:39 xinming joined 00:50 xinming left 00:51 xinming joined
timotimo it looks like it's specifically built to use the temp slots, since it takes that idx parameter 00:58
and it does look like all functions that use force_bigint use it only(?) to provide a bigint into an mp op 00:59
01:52 Altai-man_ joined 01:54 sena_kun left 02:34 xinming left, xinming joined 02:55 xinming left 02:56 xinming joined 03:53 sena_kun joined 03:55 Altai-man_ left 04:58 quotable6 left, nativecallable6 left, shareable6 left, evalable6 left, statisfiable6 left, bloatable6 left, notable6 left, committable6 left, reportable6 left, benchable6 left, tellable6 left, releasable6 left, greppable6 left, squashable6 left, sourceable6 left, coverable6 left, bisectable6 left, unicodable6 left 04:59 bisectable6 joined, greppable6 joined, tellable6 joined, bloatable6 joined, committable6 joined, unicodable6 joined, squashable6 joined 05:00 evalable6 joined, sourceable6 joined, quotable6 joined, releasable6 joined, nativecallable6 joined, statisfiable6 joined 05:01 benchable6 joined, shareable6 joined, notable6 joined, coverable6 joined, reportable6 joined 05:52 Altai-man_ joined 05:55 sena_kun left 07:40 domidumont joined 07:53 sena_kun joined 07:55 Altai-man_ left 08:02 xinming left 08:04 xinming joined 08:19 xinming left 08:20 xinming joined 08:30 zakharyas joined 08:35 brrt joined 09:15 brrt left 09:32 zakharyas left 09:34 zakharyas joined 09:52 Altai-man_ joined 09:55 sena_kun left 09:59 zakharyas left 10:01 zakharyas joined 10:24 scovit joined
scovit MasterDuke: it feels to me that libtom should provide a macro to reserve an initialized mp_int on the stack, and that would be a saner approach 10:30
tellable6 scovit, I'll pass your message to MasterDuke
11:00 Guest38485 left 11:07 domidumont left 11:53 sena_kun joined 11:55 Altai-man_ left 11:57 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 12:21 zakharyas left 12:45 Guest78373 joined 13:21 domidumont joined 13:46 zakharyas joined 13:52 Altai-man_ joined 13:54 sena_kun left 14:31 scovit left 14:48 MasterDuke joined
MasterDuke timotimo: ah, i hadn't checked that far, good to know 15:01
tellable6 2020-01-09T10:30:06Z #moarvm <scovit> MasterDuke: it feels to me that libtom should provide a macro to reserve an initialized mp_int on the stack, and that would be a saner approach
MasterDuke anybody want to help me debug `This representation (P6num) cannot unbox to other types (for type TestNum)` thrown here github.com/perl6/nqp/blob/master/t...int.t#L137 when using this moarvm branch github.com/MoarVM/MoarVM/pull/1221 ? 15:08
why doesn't nqp show the right line number in its backtrace? it says the line number of the str() sub, but then immediately after that it just says line 1 of the mainline, not the actual line it gets to 15:32
15:46 scovit joined
scovit Hi MasterDuke, about your message of yesterday, why MoarVM does not allocate thos mp_int on the stack? I've looked at libtommath docs, there is mp_init_set and mp_init_set_int in that library. 15:48
15:49 zakharyas1 joined
scovit Basically it would be a trivial change to force_bigint static function, and you free that array on the global tc 15:49
MasterDuke scovit: good question, i don't know
my first goal is just to get moarvm/nqp/raku working with libtommath v1.2.0 with the fewest possible changes 15:50
scovit me neither. I do not think it matters in terms of performance particularly
but code clarity for sure
Ok :)
15:52 zakharyas left
MasterDuke but after that there are a bunch of possible cleanups/simplifications. e.g., ltm 1.2 introduces some functions that we had created ourselves, so now wee can switch to theirs 15:52
so i'll keep your idea in mind for that secondary work, thanks 15:53
scovit you are welcome, thank to you to take care of upgrading the library 15:54
15:55 sena_kun joined, Altai-man_ left 16:31 domidumont left 16:49 lucasb joined 17:02 scovit left 17:08 AlexDaniel left 17:52 Altai-man_ joined 17:55 sena_kun left 18:18 zakharyas1 left 18:21 AlexDaniel joined 18:22 AlexDaniel left, AlexDaniel joined 18:31 brrt joined
brrt \o 18:40
18:43 domidumont joined 18:48 Ven`` joined
nwc10 o/ 18:51
brrt probably needs to check out the raku/perl side of things a bit more often... 18:55
18:57 AlexDaniel left 19:09 brrt left
MasterDuke timotimo: you around? this error i'm getting seems like the sort of thing you've helped me out with before (if only the lessons had stuck...) 19:52
19:53 sena_kun joined 19:55 Altai-man_ left 19:58 domidumont left 20:03 patrickb joined
timotimo oh? 20:20
20:29 lucasb left 20:51 MasterDuke left 21:52 Altai-man_ joined 21:55 sena_kun left 21:56 Ven`` left 23:34 xinming left 23:53 sena_kun joined 23:55 Altai-man_ left