From: lkcl Date: Tue, 1 Dec 2020 00:36:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1568 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fa0280d4b1ff03bd083cbe22b0f6cb1ca56791f;p=libreriscv.git --- diff --git a/openpower/sv/16_bit_compressed.mdwn b/openpower/sv/16_bit_compressed.mdwn index b576bc06d..7555706d8 100644 --- a/openpower/sv/16_bit_compressed.mdwn +++ b/openpower/sv/16_bit_compressed.mdwn @@ -795,7 +795,7 @@ Pseudocode: elif previ.mode == 10bit: # previous was v3.0B, move to v3.0B or 16bit? - if N == 0: + if M == 0: next.length = 32 nexti.mode = v3.0B else: @@ -805,10 +805,10 @@ Pseudocode: elif previ.mode == 16bit: # previous was 16bit, stay there or move? - if N == 0: + if M == 0: # back to v3.0B next.length = 32 - if M == 1: + if N == 1: # ... but only for 1 insn nexti.mode = v3.0B_then_16bit else: