petrbalvin
431d0d9b0b
feat(parser): read the TEXT and GLOBL operands the toolchain counts them
...
Assisted-by: GLM 5.3 Flash
2026-10-07 21:50:20 +02:00
petrbalvin
cea5db6964
feat(parser): evaluate the TEXT and GLOBL flags operand as one expression
...
Assisted-by: GLM 5.3 Flash
2026-10-07 21:50:20 +02:00
petrbalvin
bbe14dd1ab
fix(parser): diagnose GLOBL and DATA without a symbol name
...
A bare GLOBL or DATA parsed without a single diagnostic while leaving a
nil Name in the tree, a pointer every downstream tool dereferences; TEXT
keeps a placeholder beside its error for exactly that reason, and GLOBL
and DATA now do the same. The crashing input enters the corpus.
Assisted-by: GLM 5.3
2026-10-07 13:54:42 +02:00
petrbalvin
a829b8f321
fix(parser): read the segment-absolute rendering FS:0
...
The toolchain's disassembler prints the segment-prefixed disp32
absolute as FS:0, but the bare-name branch read the segment register
alone and dropped the offset, so MOVQ FS:0, DX silently encoded a
register move. The colon-offset form now lowers to the same
segment-absolute operand the 0(FS) spelling takes.
Assisted-by: GLM 5.3 Flash
2026-10-07 02:12:21 +02:00
petrbalvin
6570709226
fix(parser): peel stacked labels the way the formatter renders them
...
Assisted-by: GLM 5.3
2026-10-02 00:40:20 +02:00
petrbalvin
4d01bb3ecf
build: rename the module to sourcedock.dev/petrbalvin/gasm-sdk
Test / test (push) Successful in 4m18s
2026-09-26 11:08:43 +02:00
petrbalvin
f720381d43
feat(asm): the segment-absolute and crash-store forms GOROOT writes
...
Test / test (push) Failing after 2m28s
Assisted-by: GLM 5.3 Flash
2026-09-21 22:19:53 +02:00
petrbalvin
8cfd40aac8
feat(asm): the operand forms and defines GOROOT writes
...
Assisted-by: GLM 5.3 Flash
2026-09-21 21:17:34 +02:00
petrbalvin
e8b6ff5d7c
fix(parser): fold a signed parenthesised displacement expression
...
Test / test (push) Failing after 2m21s
Assisted-by: GLM 5.3 Flash
2026-09-21 00:45:33 +02:00
petrbalvin
522e6f2ae8
feat(parser): bracket register ranges, index-only VSIB and bare trailing immediates
...
Assisted-by: GLM 5.3 Flash
2026-09-20 22:02:19 +02:00
petrbalvin
6556b85abf
feat(asm): symbol-valued DATA, division slash in symbols and plain semicolons
...
Assisted-by: GLM 5.3 Flash
2026-09-20 19:15:05 +02:00
petrbalvin
ad82aac663
feat(parser): macro expansion, conditionals and include splicing with -I
...
Assisted-by: GLM 5.3 Flash
2026-09-20 14:25:47 +02:00
petrbalvin
7aefe6a42d
fix(parser): parse ABI markers and keep TEXT decls usable on errors
...
Assisted-by: GLM 5.3
2026-09-19 23:48:47 +02:00
petrbalvin
f37f183577
feat(riscv64): GOROOT instruction shapes, DATA order and offset expressions
...
Assisted-by: GLM 5.3 Flash
2026-09-19 19:58:43 +02:00
petrbalvin
f5fc22d390
fix(parser): reject malformed TEXT frames and parse signed frame sizes
2026-09-14 18:22:00 +02:00
petrbalvin
eacf33d0f7
fix: staticcheck and deadcode findings repo-wide, modernize counting loops
2026-08-29 15:25:15 +02:00
petrbalvin
9a34733615
style(parser): cutprefix, default case, comma and tokens rename
2026-08-29 15:14:49 +02:00
petrbalvin
31ee8e7941
feat(asm): add LoongArch encoder with ELF and GOOBJ emission
...
Assisted-by: DeepSeek V4 Pro
2026-08-13 11:24:44 +02:00
petrbalvin
f41a86b660
feat(asm): add RISC-V ELF relocatable object emission and SB relocation
...
support
2026-08-03 08:51:00 +02:00
petrbalvin
0920edb092
feat(asm): emit GOOBJ objects that link directly with the Go toolchain
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-17 18:57:04 +02:00
petrbalvin
a82f575aee
feat(asm): byte-identical go-flac AVX2 assembly with scalar families and jump relaxation
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-08 12:51:35 +02:00
petrbalvin
d5a4a6de45
feat: gasm-devkit 0.1.0 — GAsm lexer, parser, linter, formatter, LSP and amd64 assembler
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-06 09:49:50 +02:00