From: lkcl Date: Mon, 30 Nov 2020 17:05:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1593 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d1d2c8f105b494cad6ffa94fdf6193111320a45;p=libreriscv.git --- diff --git a/openpower/sv/16_bit_compressed.mdwn b/openpower/sv/16_bit_compressed.mdwn index 79ee8c7ce..3cbb2c90f 100644 --- a/openpower/sv/16_bit_compressed.mdwn +++ b/openpower/sv/16_bit_compressed.mdwn @@ -505,23 +505,23 @@ Note here that elwidth overrides (SV Prefix) can be used to select FP16/32/64 10-bit or 16 bit: - | 16-bit mode | | 10-bit mode | - | 0 1 2 3 | 4 | | 567.8 | 9 ab | cde | f | - | ------- | --- | | ----- | ---- | --- | - | - | 0 0 0 0 | BF2 | | 001.1 | 0 BF | BFA | M | mcrf + | 16-bit mode| | 10-bit mode | + | 0123 | 4 | | 567.8 | 9 ab | cde | f | + | ---- | --- | | ----- | ---- | --- | - | + | 0000 | BF2 | | 001.1 | 0 BF | BFA | M | mcrf 16-bit only: - | 0 1 2 3 | 4 | | 567.8 | 9 ab | cde | f | - | ------- | --- | | ----- | ---- | --- | - | - | 0 0 0 1 | BA2 | | 001.1 | 0 BA | BB | M | crnor - | 0 1 0 0 | BA2 | | 001.1 | 0 BA | BB | M | crandc - | 0 1 1 0 | BA2 | | 001.1 | 0 BA | BB | M | crxor - | 0 1 1 1 | BA2 | | 001.1 | 0 BA | BB | M | crnand - | 1 0 0 0 | BA2 | | 001.1 | 0 BA | BB | M | crand - | 1 0 0 1 | BA2 | | 001.1 | 0 BA | BB | M | creqv - | 1 1 0 1 | BA2 | | 001.1 | 0 BA | BB | M | crorc - | 1 1 1 0 | BA2 | | 001.1 | 0 BA | BB | M | cror + | 0123 | 4 | | 567.8 | 9 ab | cde | f | + | ---- | --- | | ----- | ---- | --- | - | + | 0001 | BA2 | | 001.1 | 0 BA | BB | M | crnor + | 0100 | BA2 | | 001.1 | 0 BA | BB | M | crandc + | 0110 | BA2 | | 001.1 | 0 BA | BB | M | crxor + | 0111 | BA2 | | 001.1 | 0 BA | BB | M | crnand + | 1000 | BA2 | | 001.1 | 0 BA | BB | M | crand + | 1001 | BA2 | | 001.1 | 0 BA | BB | M | creqv + | 1101 | BA2 | | 001.1 | 0 BA | BB | M | crorc + | 1110 | BA2 | | 001.1 | 0 BA | BB | M | cror Notes @@ -554,24 +554,24 @@ space (when RA==0) **not available** in 10-bit mode, **only** in 16-bit mode: - | 0 1 2 3 | 4 | | 567.8 | 9 ab | cde | f | - | ------- | - | | ----- | ---- | ---- | - | - | 1 1 1 1 | 0 | | 001.1 | 0 00 | RT | M | mtlr - | 1 1 1 1 | 0 | | 001.1 | 0 01 | RT | M | mtctr - | 1 1 1 1 | 0 | | 001.1 | 0 11 | RT | M | mtcr - | 1 1 1 1 | 1 | | 001.1 | 0 00 | RA | M | mflr - | 1 1 1 1 | 1 | | 001.1 | 0 01 | RA | M | mfctr - | 1 1 1 1 | 1 | | 001.1 | 0 11 | RA | M | mfcr + | 0123 | 4 | | 567.8 | 9 ab | cde | f | + | ---- | - | | ----- | ---- | ---- | - | + | 1111 | 0 | | 001.1 | 0 00 | RT | M | mtlr + | 1111 | 0 | | 001.1 | 0 01 | RT | M | mtctr + | 1111 | 0 | | 001.1 | 0 11 | RT | M | mtcr + | 1111 | 1 | | 001.1 | 0 00 | RA | M | mflr + | 1111 | 1 | | 001.1 | 0 01 | RA | M | mfctr + | 1111 | 1 | | 001.1 | 0 11 | RA | M | mfcr ### Unallocated - | 0 1 2 3 | 4 | | 567.8 | 9 ab | cde | f | - | ------- | - | | ----- | ---- | ---- | - | - | 0 1 0 1 | | | 001.1 | 0 | | M | - | 1 0 1 0 | | | 001.1 | 0 | | M | - | 1 0 1 1 | | | 001.1 | 0 | | M | - | 1 1 0 0 | | | 001.1 | 0 | | M | - | 1 1 1 1 | | | 001.1 | 0 10 | | M | + | 0123 | 4 | | 567.8 | 9 ab | cde | f | + | ---- | - | | ----- | ---- | ---- | - | + | 0101 | | | 001.1 | 0 | | M | + | 1010 | | | 001.1 | 0 | | M | + | 1011 | | | 001.1 | 0 | | M | + | 1100 | | | 001.1 | 0 | | M | + | 1111 | | | 001.1 | 0 10 | | M | ## Other ideas (Attempt 2)