Skip to content

Commit

Permalink
Merge pull request #837 from openhwgroup/dev
Browse files Browse the repository at this point in the history
Automatic PR dev->master
  • Loading branch information
davideschiavone authored Jul 18, 2023
2 parents 8c2fa90 + 25907a0 commit b14f1ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/instruction_set_extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1318,12 +1318,14 @@ Additionally, there are three modes that influence the second operand:
If not specified, the immediate is sign-extended with the exception
of all cv.shuffle* where it is always unsigned.

e.g. cv.add.sci.h x3,x2,0x2A performs:
e.g. cv.add.sci.h x3,x2,-22 performs:

x3[31:16] = x2[31:16] + 0xFFEA

x3[15: 0] = x2[15: 0] + 0xFFEA

And finally for all the SIMD Bit Manipulation instructions, Imm6 is zero-extended.

In the following tables, the index i ranges from 0 to 1 for 16-Bit operations and from 0 to 3 for 8-Bit operations:

- The index 0 is 15:0 for 16-Bit operations or 7:0 for 8-Bit operations.
Expand Down

0 comments on commit b14f1ad

Please sign in to comment.