This commit is contained in:
2026-03-24 13:40:36 +00:00
parent 29056ce0ad
commit 6423c6b4bc
6 changed files with 25 additions and 437 deletions
-36
View File
@@ -1,39 +1,3 @@
# PR-1.3 — Remove RC/HIP Opcodes From `opcode` and Decode/Encode Paths
### Briefing
Legacy opcodes must be removed entirely. Decoder/encoder must not recognize them, and there must be no compatibility decoding.
### Target
* Remove all RC/HIP opcodes and their textual/structural representation.
* Ensure decoding fails deterministically for unknown opcodes.
### Work items
* Delete RC/HIP-related opcode variants from `prometeu-bytecode` opcode definitions.
* Remove any encode/decode logic for those opcodes.
* Ensure decoder behavior for unknown opcodes is:
* Deterministic.
* Produces an actionable error message.
* Has no fallback to “legacy”.
* Update disasm formatting tables and opcode-name maps.
* Update tests/fixtures that referenced removed opcodes.
### Acceptance checklist
* [ ] Opcode enum(s) no longer include RC/HIP concepts.
* [ ] Encoder/decoder do not accept legacy opcodes.
* [ ] Disasm no longer prints legacy opcode names.
* [ ] `cargo test` passes.
### Tests
* Add/adjust a unit test ensuring decoding an unknown/removed opcode produces the expected error.
---
# PR-1.4 — Define the Minimal Core ISA Surface (Bytecode-Only)
### Briefing