(no commit message)
authorlkcl <lkcl@web>
Tue, 1 Dec 2020 00:36:13 +0000 (00:36 +0000)
committerIkiWiki <ikiwiki.info>
Tue, 1 Dec 2020 00:36:13 +0000 (00:36 +0000)
openpower/sv/16_bit_compressed.mdwn

index b576bc06d64c8ffd5af4e6a504b57c3d8c3e2742..7555706d8d3ea649d82f74d009da6ccbd5cd96f6 100644 (file)
@@ -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: