(no commit message)
authorlkcl <lkcl@web>
Wed, 16 Dec 2020 01:22:09 +0000 (01:22 +0000)
committerIkiWiki <ikiwiki.info>
Wed, 16 Dec 2020 01:22:09 +0000 (01:22 +0000)
openpower/sv/svp_rewrite/svp64.mdwn

index 760970f30edc16e14ed625601072230a1fffe028..dda30fd4f5ed2ab50ebc5cc9fd4b7984b3eada77 100644 (file)
@@ -25,12 +25,25 @@ defined in the Prefix Fields section.
 
 ## Remapped Encoding Fields
 
+There are two different encodings: single-predication (typically arithmetic operations i.e. with more than one source register) and twin-predication (one source, one destination).  They require different encodings
+
+Single Predication (2+ src ops):
+
 | Remapped Encoding Field Name | Field bits | Description    |
 |------------------------------|------------|----------------|
 | MASKMODE                     | `0`        | Predicate Mode |
 | MASK                         | `1:3`      | Execution Mask |
 | TBD                          | `4:23`     | TBD            |
 
+Twin Predication (1 src, 1 dest):
+
+| Remapped Encoding Field Name | Field bits | Description    |
+|------------------------------|------------|----------------|
+| MASKMODE                     | `0`        | Predicate Mode |
+| SRCMASK                      | `1:3`      | Source    Mask |
+| DSTMASK                      | `4:6`      | Dest      Mask |
+| TBD                          | `7:23`     | TBD            |
+
 ## Predicate MASK Encoding
 
 One bit indicates the mode: CR or Int predication.   The two types may not be mixed.