Skip to content

Commit

Permalink
Merge pull request #970 from pascalgouedo/dev_dd_pgo_doc
Browse files Browse the repository at this point in the history
Correction for issue #967 and …
  • Loading branch information
davideschiavone authored Mar 25, 2024
2 parents 892dd63 + 5c9a14d commit dc6b0f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/source/instruction_set_extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -783,21 +783,21 @@ General ALU operations
| | |
| | Note: If Is2 is equal to 0, (2^(Is2-1)-1) is equivalent to 0. |
+-------------------------------------------+------------------------------------------------------------------------+
| **cv.clipr rD, rs1, rs2** | if rs1 <= -(rs2+1), rD = -(rs2+1), |
| **cv.clipr rD, rs1, rs2** | rs2' = rs2 & 0x7FFFFFFF |
| | |
| | else if rs1 >=rs2, rD = rs2, |
| | if rs1 <= -(rs2'+1), rD = -(rs2'+1), |
| | |
| | else rD = rs1 |
| | else if rs1 >=rs2', rD = rs2', |
| | |
| | Note: rs2 is unsigned and must be in the range (0x0-0x7FFFFFFF). |
| | else rD = rs1 |
+-------------------------------------------+------------------------------------------------------------------------+
| **cv.clipur rD, rs1, rs2** | if rs1 <= 0, rD = 0, |
| **cv.clipur rD, rs1, rs2** | rs2' = rs2 & 0x7FFFFFFF |
| | |
| | else if rs1 >= rs2, rD = rs2, |
| | if rs1 <= 0, rD = 0, |
| | |
| | else rD = rs1 |
| | else if rs1 >= rs2', rD = rs2', |
| | |
| | Note: rs2 is unsigned and must be in the range (0x0-0x7FFFFFFF). |
| | else rD = rs1 |
+-------------------------------------------+------------------------------------------------------------------------+
| **cv.addN rD, rs1, rs2, Is3** | rD = (rs1 + rs2) >>> Is3 |
| | |
Expand Down

0 comments on commit dc6b0f9

Please sign in to comment.