(no commit message)
authorlkcl <lkcl@web>
Wed, 25 Nov 2020 14:03:32 +0000 (14:03 +0000)
committerIkiWiki <ikiwiki.info>
Wed, 25 Nov 2020 14:03:32 +0000 (14:03 +0000)
openpower/sv/major_opcode_allocation.mdwn

index bea9088a4d30d89a3f0274513e93a0a166832baf..2e99da05b39a1c8ebadbd4f0c99568a301c7e086 100644 (file)
@@ -54,6 +54,21 @@ Potential allocations:
 * EXT56/57 - SV-C32-Swizzle
 * EXT60/62 - VBLOCK
 
+# Major opcode map
+
+Table 9: Primary Opcode Map (opcode bits 0:5)
+
+        |  000   |   001 |  010  | 011   |  100  |    101 |  110  |  111
+    000 |        |       |  tdi  | twi   | EXT04 |        |       | mulli | 000
+    001 | subfic |       | cmpli | cmpi  | addic | addic. | addi  | addis | 001
+    010 | bc/l/a | EXT17 | b/l/a | EXT19 | rlwimi| rlwinm |       | rlwnm | 010
+    011 |  ori   | oris  | xori  | xoris | andi. | andis. | EXT30 | EXT31 | 011
+    100 |  lwz   | lwzu  | lbz   | lbzu  | stw   | stwu   | stb   | stbu  | 100
+    101 |  lhz   | lhzu  | lha   | lhau  | sth   | sthu   | lmw   | stmw  | 101
+    110 |  lfs   | lfsu  | lfd   | lfdu  | stfs  | stfsu  | stfd  | stfdu | 110
+    111 |  lq    | EXT57 | EXT58 | EXT59 | EXT60 | EXT61  | EXT62 | EXT63 | 111
+        |  000   |   001 |   010 |  011  |   100 |   101  | 110   |  111
+
 # LE/BE complications.
 
 See <https://bugs.libre-soc.org/show_bug.cgi?id=529> for discussion