Skip to content

Commit 55c9cc8

Browse files
print register names like t0, t1, a0, s0, etc instead of x0, x1, etc
1 parent f193b6e commit 55c9cc8

5 files changed

+471
-141
lines changed

src/riscv/Utility/InstructionCoercions.v

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
Require Import riscv.Spec.Decode.
22

3-
Coercion IInstruction: InstructionI >-> Instruction.
4-
Coercion MInstruction: InstructionM >-> Instruction.
5-
Coercion I64Instruction: InstructionI64 >-> Instruction.
6-
Coercion M64Instruction: InstructionM64 >-> Instruction.
7-
Coercion CSRInstruction: InstructionCSR >-> Instruction.
3+
Coercion IInstruction : InstructionI >-> Instruction.
4+
Coercion MInstruction : InstructionM >-> Instruction.
5+
Coercion AInstruction : InstructionA >-> Instruction.
6+
Coercion FInstruction : InstructionF >-> Instruction.
7+
Coercion I64Instruction : InstructionI64 >-> Instruction.
8+
Coercion M64Instruction : InstructionM64 >-> Instruction.
9+
Coercion A64Instruction : InstructionA64 >-> Instruction.
10+
Coercion F64Instruction : InstructionF64 >-> Instruction.
11+
Coercion CSRInstruction : InstructionCSR >-> Instruction.
812

913
(* separate notation to make sure coercions kick in *)
1014
Declare Scope ilist_scope.

0 commit comments

Comments
 (0)