raz / src / X64.raz

history · 20 commits · the file

2b92b442Luis <42945842+ldiaz94@users.noreply.github.com>The first programs for darwin-arm64, run on the Mac: Gen.arm64, Exe.darwin
a072a400Luis <42945842+ldiaz94@users.noreply.github.com>Assembler: a procedure or a module variable stands for its address in call p, jmp p and lea r, [v]
52ee177dLuis <42945842+ldiaz94@users.noreply.github.com>Assembler: palignr's byte is 0 to 255
013c05d6Luis <42945842+ldiaz94@users.noreply.github.com>Assembler: the rule for when an instruction joins; paddd, punpcklqdq, punpckhqdq, pshufb, palignr and the SHA-NI three
94283193Luis <42945842+ldiaz94@users.noreply.github.com>Assembler: push of a constant, cld and std
04d8e1a9Luis <42945842+ldiaz94@users.noreply.github.com>src/ held to report 2026-10.37 whole: import SYSTEM where it reaches memory so
e0d008cdLuis <42945842+ldiaz94@users.noreply.github.com>lib/ held to report 2026-10.37 whole: import SYSTEM, []const, atomics on a variable
1a0e8ddeLuis <42945842+ldiaz94@users.noreply.github.com>ABS: a number without its sign, as report 2026-10.36 has it
e19ed1d8Luis <42945842+ldiaz94@users.noreply.github.com>FILL(d, x): every element of an array or slice set to x, as report 2026-10.36 has it: rep stos of the element's width, a loop of stores for a short slice, a store each for a short array, and a record copied forward by rep movsb (10M fills of 10 U32s 52 ms to 37 against the loop, of 1,000 2,500 to 490)
3994272cLuis <42945842+ldiaz94@users.noreply.github.com>COPY goes backwards only when the destination starts inside the source, and then by words, not a byte-at-a-time std rep movsb (10M upward copies of 1,000 U32s 10,900 ms to 410)
597cec35Luis <42945842+ldiaz94@users.noreply.github.com>CLZ, CTZ and POPCOUNT: counts of bits, as report 2026-10.36 has them
2e254a62Luis <42945842+ldiaz94@users.noreply.github.com>X64: a jump to the end of a procedure keeps the return's jmp it lands after
ac3c464aLuis <42945842+ldiaz94@users.noreply.github.com>X64: jmp to a register
61fa4786Luis <42945842+ldiaz94@users.noreply.github.com>ROL and ROR: rotations, as report 2026-10.35 has them
c57f87eeLuis <42945842+ldiaz94@users.noreply.github.com>The assembler knows a kernel's instructions
3fee2db6Luis <42945842+ldiaz94@users.noreply.github.com>Buf, Files, Fmt and Str take the Buf by var (report 2026-10.33)
4d68ba95Luis <42945842+ldiaz94@users.noreply.github.com>An element of a module's array by its address, with no lea
787085c3Luis <42945842+ldiaz94@users.noreply.github.com>A square root in place of a call
a4f60016Luis <42945842+ldiaz94@users.noreply.github.com>The compiler's code, faster: 1.8 times the seed's time to 1.4
596c810aLuis <42945842+ldiaz94@users.noreply.github.com>src/ is the compiler in raz; the Pascal seed moves to seed/