Commit Graph
21 Commits
Author SHA1 Message Date
arti 5e8dbffb01 docs: move the M2 spill test to Task 3 2026-11-11 15:21:09 +00:00
arti c0746338b0 docs: M2 TI ABI and ROM call implementation plan 2026-11-11 14:57:27 +00:00
arti 7749cc810b scripts: fix stale M1 comments and tighten the harness checks
Preserve the dis34 output on a failed round-trip instead of claiming a
deleted temp file is kept, require GSPA "No Warnings" in addition to
"No Errors", and correct the six-function and M1 pipeline comments.
2026-11-11 10:15:34 +00:00
arti eacaab68f6 docs: correct the GEP scaling warning and M1 data limits
Raw clang IR has byte GEP offsets that llc treats as bits, so addresses
are 8x too small; always run tms-clang/tms-bitaddr --scale first.
Document that M1 supports only zero-initialized globals and rejects
.data/string literals loudly, and defer the spec's .data initializer
probe to M2.
2026-11-11 10:15:32 +00:00
arti 937a8cc800 tms-bitaddr: make --normalize reject typed and vector GEPs
--normalize lowers GEP offsets as already-scaled bit offsets.  A typed
GEP still carries a DataLayout byte offset and a vector GEP has no
scalar lowering, so accepting either produced addresses 8x too small.
Check all instruction and constant-expression GEPs and fail clearly;
--scale still scales typed GEPs normally.  Add positive and negative
tool tests.
2026-11-11 10:15:30 +00:00
arti 56d6a71cb7 docs: M1 minimal backend and test convention 2026-11-11 09:53:23 +00:00
arti 755b3cb7b2 tests: link M1 char helpers and check MOVB 2026-11-11 08:53:41 +00:00
arti b638ab0fad tests: M1 dis34 round-trip 2026-11-11 08:43:17 +00:00
arti 6f776e1758 tests: pin the M1 .bss origin and second pointer marker 2026-11-11 08:39:58 +00:00
arti e0a721e3e1 tests: M1 GSPA/MAME smoke test 2026-11-11 08:31:19 +00:00
arti e081921b72 plan: M1 minimal TMS34010 backend 2026-11-11 06:47:05 +00:00
arti d400e641fb docs: link the compiler fork and project repositories 2026-11-11 06:02:38 +00:00
arti 668afbbf44 fix: address final review (subtarget, bool/char alignment, spike env, late-GEP tests) 2026-11-11 03:39:15 +00:00
arti 795fcdc14a build: clean LLVM fork build from pinned tag and patches 2026-11-11 03:26:36 +00:00
arti 4a2a9b2135 spike: re-run on LLVM 23.1.5 2026-11-10 17:33:59 +00:00
arti 92354e8761 scripts: add M0 clang/scale/opt/normalize wrapper and tests 2026-11-10 17:33:13 +00:00
arti 93f90607bb tools: add tms-bitaddr GEP scale and normalize tool 2026-11-10 17:32:37 +00:00
arti dbdb827c17 clang: bit-address pointer difference scaling 2026-11-10 17:31:40 +00:00
arti e0c2ee77e5 clang: tms34010 data model and packed structs 2026-11-10 17:19:18 +00:00
arti 16c4189f16 llvm: add tms34010 triple, clang target info, and target skeleton 2026-11-10 17:18:55 +00:00
arti da553739c5 docs: TMS34010 LLVM design, spike, and workspace setup 2026-11-10 14:42:56 +00:00