github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
01:45 lizmat left 04:39 avar left 04:43 avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 05:26 fake_space_whale left 08:00 lizmat joined, p6bannerbot sets mode: +v lizmat 08:09 TimToady left 08:10 TimToady joined 08:11 p6bannerbot sets mode: +v TimToady 08:24 MasterDuke left 08:41 ItchyPlant joined, p6bannerbot sets mode: +v ItchyPlant
ItchyPlant Hi, just checking in to tell you that I managed to compile Rakudo on AIX (works both on 7.1, 7.2). :) 08:42
I used "truss" to get more details about how that moar process dies during compilation and found "Err#12 ENOMEM" entries before it got segfault. 08:44
So I googled and found this in some pages but maybe this one tells it best: www-01.ibm.com/support/docview.wss...wg1PK94490
So MoarVM's Makefile has this linking flag, and after that, all NQP, Rakudo compiles, all tests pass: 08:45
LDFLAGS = -Wl,-bmaxdata:0x80000000,-brtl -O3 -DNDEBUG -L"//opt/rakudo/lib"
09:04 ItchyPlant left
lizmat ItchyPlant++ 09:15
09:17 ItchyPlant joined, p6bannerbot sets mode: +v ItchyPlant
samcv ItchyPlant: so we need that compile flag on all AIX? 09:35
just to have -bmaxdata:0x80000000 added?
ah looks like only 32 bit builds maybe? 09:38
anyway, i need to sleep now. will check on messages tomorrow :) good work 09:41
09:43 robertle joined 09:44 p6bannerbot sets mode: +v robertle 09:50 Zoffix left
ItchyPlant I was also experimenting what if I add block to 3rdparty/dyncall/dyncall/dyncall_macros.h about _AIX and not use libffi. In that case it passed the initial phase but failed here: 09:53
dyncall_callvm_ppc32.c:57:2: error: #error Unsupported OS for ppc32 architecture.
So I reverted to the original solution, to just use "--has-libffi" 09:57
I wrote a step-by-step instruction about what had to be done to get it working... I'm still working on it. May I do it on Reddit or is there a better place for it? 10:00
lizmat ItchyPlant: perhaps a PR for MoarVM documentation ? 10:04
ItchyPlant or rather on gist.github.com?
what is that? :)
lizmat ItchyPlant: wherever you want to put it... 10:05
ItchyPlant OK
lizmat someone will make sure it won't get lost by putting it in some repo where it will be kept 10:06
nine 11.878s! master is at 11.576s. Soooo close now 10:17
ItchyPlant: that's great! Thanks for pushing this through! 10:24
ItchyPlant Thank you all for all your help! It's a great community! :) 10:25
10:27 robertle left 10:37 robertle joined 10:38 p6bannerbot sets mode: +v robertle
Geth MoarVM/master: 16 commits pushed by (Stefan Seifert)++
review: github.com/MoarVM/MoarVM/compare/0...db36d761c2
10:55
nine ^^^ fixes, (read|write)(u?int|num) ops (jnthn++'s suggestion for the new API for handling binary buffers), serializetobuf and buffertocu ops and improved support for uints 10:58
timotimo will nqp get these ops right away, even before the new mast compiler? 10:59
nine That's the plan, yes 11:00
timotimo cool.
nine If for no other reason than to make my rebases easier :) 11:01
timotimo right
i'll also be rebasing a thing or two
Geth MoarVM: d8065362a3 | (Timo Paulssen)++ | src/spesh/optimize.c
decont on nativeref shall become decont_* + box_*

this way we should later be able to use the deconted value directly without boxing it first, and then more easily get rid of a native ref taking instruction.
11:15
MoarVM: 950fb0e1f5 | (Timo Paulssen)++ | src/spesh/optimize.c
set flags & known type on spesh slot

unblocks optimizing the box_* into a fastbox, in the case of box_i it will even go through the int cache.
timotimo this, for example
nine very nice :)
timotimo maybe you can get the remaining ~0.4s by getting rid of the coerce_iu that follows the const_i64_16 :) :) 11:17
lizmat timotimo nine: time for a version bump ? 11:18
nine I wouldn't bet on it.... so far such clear optimizations have always yielded results that were hardly measurable. Only the sum of the optimizations has driven the time down
timotimo right 11:19
it was tongue-in-cheek anyway :)
it's just that sometimes really wasteful-seeming bytecode offends me :D 11:20
nine Same here
timotimo i mean, coerce_iu is surely extremely cheap
but using it on a constant is just silly
11:47 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 11:48 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke
nine Damn....rebasing my nqp branch brought me straight back into bootstrap hell. 11:49
lizmat wonders why ItchyPlant just removed a new reddit post ? 12:40
ItchyPlant I didn't post it under r/perl6 first, then I removed, but that didn't look disappeared, reposted... now it should be OK I guess. I'm new on reddit too. :) 12:42
lizmat comments again :) 12:43
ItchyPlant thanks 12:46
nine Finally....dug myself out again 12:54
12:54 ItchyPlant left
lizmat nine: welcome up again! 12:59
13:51 MasterDuke left
timotimo \o/ 13:59
nine: write_buf doesn't check for the slot type of the array before it uses the .u8 slot 14:31
that could go kind of wrong if it's used on a 16bit integer or 32bit integer vmarray 14:32
14:37 Ven`` joined 14:38 p6bannerbot sets mode: +v Ven`` 14:42 Ven` joined, squashable6 left, squashable6 joined 14:43 p6bannerbot sets mode: +v Ven`, p6bannerbot sets mode: +v squashable6 14:46 Ven`` left 14:48 Ven`` joined 14:49 p6bannerbot sets mode: +v Ven`` 14:51 Ven` left
nine timotimo: there's clearly room for improvement, yes 14:52
14:59 Ven`` left 15:02 Ven`` joined 15:03 p6bannerbot sets mode: +v Ven`` 15:20 Ven` joined, Ven`` left 15:21 p6bannerbot sets mode: +v Ven` 15:24 lizmat left
nine Ok, this is becoming absurd. How on earth can it be that I get better times for stage mast if MVM_SPESH_LOG=spesh.log is set? 15:31
The first two or three times I just thought it's random fluctuation. But it's...surprisingly consistent. 15:32
New record: 11.695s
15:39 Ven` left 15:40 fake_space_whale joined 15:41 p6bannerbot sets mode: +v fake_space_whale 15:59 Ven`` joined 16:00 p6bannerbot sets mode: +v Ven`` 16:06 Ven`` left
timotimo you can use MVM_SPESH_BLOCKING to get it to be more consistent 16:33
16:34 squashable6 left, squashable6 joined 16:35 p6bannerbot sets mode: +v squashable6 16:49 zakharyas joined 16:50 p6bannerbot sets mode: +v zakharyas
nine 11.614s! However, master seems to be at 10.710s now, so about 1 second to go. 17:24
Geth MoarVM/nqp-mbc: 32 commits pushed by (Stefan Seifert)++, (Timo Paulssen)++
review: github.com/MoarVM/MoarVM/compare/d...c2b1f257e3
17:25
17:27 reportable6 left, reportable6 joined 17:28 p6bannerbot sets mode: +v reportable6 17:34 squashable6 left, squashable6 joined 17:35 p6bannerbot sets mode: +v squashable6
timotimo wakelift.de/p/64c6606a-2052-4e86-b...742e5a254/ - I'd love to have a few eyes to go over my latest development report blog post :) 17:49
good going, nine 17:52
18:06 zakharyas left 18:31 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke, zakharyas joined 18:32 p6bannerbot sets mode: +v zakharyas
MasterDuke timotimo: "entered, how many" should be something like "entered and how many" 18:32
18:33 domidumont joined, p6bannerbot sets mode: +v domidumont
MasterDuke timotimo: "tree, rewrote" should be something like "tree and rewrite", or maybe "tree and then rewrote" 18:36
timotimo: "primitivesI" should be "primitives I" 18:38
18:39 domidumont left 18:40 domidumont joined 18:41 p6bannerbot sets mode: +v domidumont
timotimo TYVM! 18:44
MasterDuke good post, it's really coming along nicely 18:45
timotimo thank you :)
OK, I'll publish it now 18:48
oh, a little unsplash image would be nice, too
weekly: wakelift.de/2018/10/28/full-screen-ahead/ 18:51
notable6 timotimo, Noted!
19:34 robertle left 19:44 squashable6 left, squashable6 joined 19:45 p6bannerbot sets mode: +v squashable6 19:52 domidumont left 20:00 AlexDaniel left 20:01 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel
jnthn timotimo++ # great work, and nice post about it too :) 20:01
timotimo \o/ 20:02
21:18 zakharyas left 21:21 lizmat joined, p6bannerbot sets mode: +v lizmat 21:26 AlexDani` joined 21:27 p6bannerbot sets mode: +v AlexDani` 21:31 AlexDaniel left 22:06 AlexDani` is now known as AlexDaniel 22:17 ggoebel left 22:30 Kaiepi left