From 56cb9041735273987d1fe80499e152f83d1ac842 Mon Sep 17 00:00:00 2001 From: Franz Fuchs Date: Wed, 24 Jan 2024 10:42:08 +0000 Subject: [PATCH] Fixed encoding for c.cjalr and c.cjr --- src/insns/wavedrom/c-cjalr-format-ls.adoc | 4 ++-- src/insns/wavedrom/c-cr-format-ls.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/insns/wavedrom/c-cjalr-format-ls.adoc b/src/insns/wavedrom/c-cjalr-format-ls.adoc index 83cbe671..01ae1acf 100644 --- a/src/insns/wavedrom/c-cjalr-format-ls.adoc +++ b/src/insns/wavedrom/c-cjalr-format-ls.adoc @@ -4,8 +4,8 @@ .... {reg: [ {bits: 2, name: 'op', type: 8, attr: ['2','C2=10']}, - {bits: 5, name: 'rs2', type: 4, attr: ['5','0']}, - {bits: 5, name: 'rs1', type: 4, attr: ['5','src!=0']}, + {bits: 5, name: 'cs2/rs2', type: 4, attr: ['5','0']}, + {bits: 5, name: 'cs1/rs1', type: 4, attr: ['5','src!=0']}, {bits: 4, name: 'funct4', type: 8, attr: ['4', 'cap: C.CJALR=1001', 'leg: C.JALR=1001']}, ], config: {bits: 16}} .... diff --git a/src/insns/wavedrom/c-cr-format-ls.adoc b/src/insns/wavedrom/c-cr-format-ls.adoc index 24444be6..0df02f21 100644 --- a/src/insns/wavedrom/c-cr-format-ls.adoc +++ b/src/insns/wavedrom/c-cr-format-ls.adoc @@ -4,8 +4,8 @@ .... {reg: [ {bits: 2, name: 'op', type: 8, attr: ['2','C2=10']}, - {bits: 5, name: 'rs2', type: 4, attr: ['5','0']}, - {bits: 5, name: 'rs1', type: 4, attr: ['5','src!=0']}, + {bits: 5, name: 'cs2/rs2', type: 4, attr: ['5','0']}, + {bits: 5, name: 'cs1/rs1', type: 4, attr: ['5','src!=0']}, {bits: 4, name: 'funct4', type: 8, attr: ['4','cap: C.CJR=1000', 'leg: C.JR=1000']}, ], config: {bits: 16}} ....