From: lkcl Date: Tue, 6 Jun 2023 19:16:04 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f1bc099a7d25012209721509e6976e775b1f0b4;p=libreriscv.git --- diff --git a/openpower/sv/po9_encoding/discussion.mdwn b/openpower/sv/po9_encoding/discussion.mdwn index ae6dee56f..75fb73cc7 100644 --- a/openpower/sv/po9_encoding/discussion.mdwn +++ b/openpower/sv/po9_encoding/discussion.mdwn @@ -1,18 +1,16 @@ # alternative 32-64 encoding ``` -| 0-5 | 6-27 28 29 | 30-31| 32 |33-63| Description | -|-----|------------|------|----|-----|------------------------------------| -| PO9 | xxx | 0 0 | 0 0 | 0 | xxxx| 55-bit `RESERVED` | -| PO9 | xxx | 0 1 | 0 0 | 0 | xxxx| 32-bit Unvectorizable | -| PO9 | xxx | 1 0 | 0 0 | 0 | xxxx| 32-bit Unvectorizable | -| PO9 | xxx | 1 1 | 0 0 | 0 | xxxx| 32-bit Unvectorizable | -| PO9 | !zero | 0 0 | 1 | DWd | SVP64Single:EXT232-263 | -| PO9 | 0000 | 0 0 | 1 | DWd | Scalar EXT232-263 | -| PO9 | nnnn | 1 0 | 1 | DWd | SVP64:EXT232-263 | -| PO9 | 0000 | 0 1 | x | xxxx| 32-bit Unvectorizable (in 64-bit) | -| PO9 | !zero | 0 1 | n | DWd | SVP64Single:EXT000-063 | -| PO9 | nnnn | 1 1 | n | DWd | SVP64:EXT000-063 | +| 0-5 | 6-28 29 | 30-31| 32 |33-63| Description | +|-----|---------|------|----|-----|------------------------------------| +| PO9 | xxx | 0 | 0 0 | 0 | xxxx| 55-bit `RESERVED` | +| PO9 | xxx | 1 | 0 0 | 0 | xxxx| 32-bit Unvectorizable | +| PO9 | !zero | 0 0 | 1 | DWd | SVP64Single:EXT232-263 | +| PO9 | 0000 | 0 0 | 1 | DWd | Scalar EXT232-263 | +| PO9 | nnnn | 1 0 | 1 | DWd | SVP64:EXT232-263 | +| PO9 | 0000 | 0 1 | x | xxxx| 32-bit Unvectorizable (in 64-bit) | +| PO9 | !zero | 0 1 | n | DWd | SVP64Single:EXT000-063 | +| PO9 | nnnn | 1 1 | n | DWd | SVP64:EXT000-063 | ``` Length detection: @@ -21,7 +19,7 @@ Length detection: if PO1 return 64 if not PO9 return 32 if Word[31] = 1 return 64 - if Word[28:31] = 0b0000 return 64 + if Word[29:31] = 0b0000 return 64 return 32 ```