[02:18] *** guifa joined
[02:51] <Voldenet> the writenum is implemented here https://github.com/MoarVM/MoarVM/blob/597c5351b8e7d1e6c628a02335d2f507e119b68b/src/core/interp.c#L5314

[02:52] <Voldenet> 13 is number of bits with byte order

[02:52] <[Coke]> oh. REG_3 is literally called flags.

[02:52] <[Coke]> er.

[02:53] <[Coke]> er, REG 6?

[02:53] <[Coke]> there's enough macros in there I'm not sure how to map that to the opcode listing. voldenet, if you can parse that, I'd appreciate a patch to nqp's docs/ops*

[02:54] <[Coke]> zzz

[02:54] <Voldenet> I've pasted the link, because I'm not 100% sure what it means – 13 is used everywhere as constant

[02:54] <Voldenet> 8 bits + switch endianness

[02:59] <Voldenet> 13 -> 1101 -> 11 (8 bytes) + 01 (swap on big-endian hosts)

[03:00] <Voldenet> byte orders if I get it correctly are `0 = native, 1 = switch on big-endian, 2 = switch on little-endian, 3 = native`

[03:01] <Voldenet> ah, there's better way of saying 13

[03:01] <Voldenet> m: nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT

[03:01] <camelia> rakudo-moar e17a1d43b: OUTPUT: «WARNINGS for <tmp>:␤Useless use of "+|" in expression "nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT" in sink context (line 1)␤»

[03:01] <Voldenet> m: use nqp; nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT

[03:01] <camelia> rakudo-moar e17a1d43b: OUTPUT: «WARNINGS for <tmp>:␤Useless use of "+|" in expression "nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT" in sink context (line 1)␤»

[03:01] <Voldenet> m: use nqp; say nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT

[03:01] <camelia> rakudo-moar e17a1d43b: OUTPUT: «13␤»

