From: lkcl Date: Tue, 22 Dec 2020 05:29:09 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1049 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ce5e39c948c47a66f4bee42b5af1021bde4f2be;p=libreriscv.git --- diff --git a/openpower/sv/svp_rewrite/svp64.mdwn b/openpower/sv/svp_rewrite/svp64.mdwn index 68d59a81a..70401e2d3 100644 --- a/openpower/sv/svp_rewrite/svp64.mdwn +++ b/openpower/sv/svp_rewrite/svp64.mdwn @@ -518,6 +518,36 @@ Note however that svp64 is stand-alone and is in no way critically dependent on Note, again: this is *only* under svp64 prefixing. Standard v3.0B / v3.1B is *not* altered by svp64 in any way. +### Major opcode map (v3.0B) + +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 + +### Suitable for svp64 + +Table 9: Primary Opcode Map (opcode bits 0:5) + + | 000 | 001 | 010 | 011 | 100 | 101 | 110 | 111 + 000 | | | | | | | | mulli | 000 + 001 | subfic | | cmpli | cmpi | addic | addic. | addi | addis | 001 + 010 | | | | 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 | | | 101 + 110 | lfs | lfsu | lfd | lfdu | stfs | stfsu | stfd | stfdu | 110 + 111 | | EXT57 | EXT58 | EXT59 | EXT60 | EXT61 | EXT62 | EXT63 | 111 + | 000 | 001 | 010 | 011 | 100 | 101 | 110 | 111 + ## Twin Predication This is a novel concept that allows predication to be applied to a single