Admin
|
c378411637
|
落地映像读写:72 字节头、段布局、FNV-1a、.stb 与 sidecar。
- 指令与映像.md 冻结:头字段表、常量表/函数表行、段序、数据段对齐、sidecar 格式
- Types.h 补 TypeTag;Image.h/cpp:ImageView 校验、write_ret_main、文件与 sidecar
- isa CMake 改 target_include_directories PUBLIC
|
2026-08-19 14:40:38 +08:00 |
|
Admin
|
eba48f852e
|
实现指令编解码与反汇编,冻结 disasm 格式。
- Encode.h/Encode.cpp:encode/decode 往返 + disasm 一行文本
- 指令与映像.md 新增反汇编格式表(9 种形态 + 未知操作码)
- Op.h STORE_* 注释对齐 disasm(rs, slot 寄存器在前)
|
2026-08-19 14:06:20 +08:00 |
|
Admin
|
7c855b1618
|
文档同步双可执行架构:STCompiler + BytecodeExecutor。
- 12.10 重写为两条命令:STCompiler 编译出 .stb + sidecar,BytecodeExecutor 加载执行
- 12.0 删独立 stc.exe,12.13 依赖方向改为 STCompiler/BytecodeExecutor
- 指令与映像.md 新增「映像文件(.stb)与 sidecar」节,I/O 绑定不进映像
- host/ 改名 executor/,宿主入口.md 重写为执行器入口.md
- README / tests / examples / isa README 同步
|
2026-08-19 13:59:50 +08:00 |
|
Admin
|
94accd52c3
|
落地 isa 合同:饱和类型、操作码枚举、32-bit 指令编解码。
- Types.h:TIME 改 int64_t(毫秒),补 sat_add/sub/mul/div,除零与 INT_MIN/-1 规则
- Op.h:29 条操作码枚举 + mnemonic 助记符,数值即编码
- Instr.h:pack/拆字段 + 按形态 enc_rr/rrr/imm/jmp/jc/slot/call/ret
|
2026-08-19 13:59:48 +08:00 |
|
Admin
|
9a35a881d1
|
建立四模块 CMake 骨架与 line1 样例。
- compiler / vm 空静态库,host 可执行打印版本
- 顶层解开 add_subdirectory,tests 接入 CTest(host_version 通过)
- examples/line1 落地 project.toml 与三个 .st
- Types.h 注释补饱和规则,与 Doc/isa 一致
- .gitignore 忽略 Doc/会话记录.md
|
2026-08-19 10:09:27 +08:00 |
|
 AdminandCursor
|
ff244888c3
|
落地 isa 静态库骨架与 Types 头。
先挂 Encode.cpp 和定宽类型别名,规范仍以 Doc 为准。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 17:48:09 +08:00 |
|
 AdminandCursor
|
6db7304254
|
添加 GCC CMake presets,顶层先只编 isa。
compiler/vm/host 尚未成库,避免 configure 失败。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 17:48:03 +08:00 |
|
 AdminandCursor
|
e4cdaf4717
|
把各模块说明从 README 拆到 Doc,并用索引替代 Doc/README。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 17:18:40 +08:00 |
|
 AdminandCursor
|
583f14967a
|
冻 isa 的指令编码、映像布局与定宽类型,计划改为引用该规范。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 17:18:30 +08:00 |
|
 AdminandCursor
|
74e5f43da9
|
将 CMake 工程名从 StScan 改为 Stator。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 17:17:52 +08:00 |
|
 AdminandCursor
|
89f99e65e8
|
建立 StScan CMake 工程,并在 cmake 中规定 C11/C++11。
顶层挂上四个模块目录,语言标准集中在 Standards.cmake。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 16:51:51 +08:00 |
|
 AdminandCursor
|
50b0456198
|
细化第一版实现顺序,并与仓库目录对齐。
把第 12 节拆成可验收阶段,目录改为 isa/compiler/vm/host。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 16:51:45 +08:00 |
|
 AdminandCursor
|
2eb2468119
|
划定 CMake 模块目录并补充各层 README。
固定 isa/compiler/vm/host 的职责边界,样例与测试单独成目录。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-18 16:32:07 +08:00 |
|
Admin
|
368877ae34
|
初始化仓库
|
2026-08-18 16:14:28 +08:00 |
|