pr1.3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user