From: lkcl Date: Wed, 25 Nov 2020 14:03:32 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1660 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bb7df74c09aab668bb54afdba116af7852d6822;p=libreriscv.git --- diff --git a/openpower/sv/major_opcode_allocation.mdwn b/openpower/sv/major_opcode_allocation.mdwn index bea9088a4..2e99da05b 100644 --- a/openpower/sv/major_opcode_allocation.mdwn +++ b/openpower/sv/major_opcode_allocation.mdwn @@ -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 for discussion