Skip to content

Commit

Permalink
xtheadmac: Fix descriptions of mulsh and mulsw
Browse files Browse the repository at this point in the history
  • Loading branch information
quxm committed Jan 30, 2023
1 parent d4e6032 commit e7e9105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xtheadmac/mulsh.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Operation::
[source,sail]
--
M := sext.h(reg[rs1][15:0]) * sext.h(reg[rs2][15:0])
reg[rd] := sext.w(reg[rd] - M)
reg[rd] := sext.w(reg[rd][31:0] - M)
--

Permission::
Expand Down
2 changes: 1 addition & 1 deletion xtheadmac/mulsw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Operation::
[source,sail]
--
M := sext.w(reg[rs1]) * sext.w(reg[rs2])
reg[rd] := sext.w(reg[rd] - M)
reg[rd] := sext.w(reg[rd][31:0] - M)
--

Permission::
Expand Down

0 comments on commit e7e9105

Please sign in to comment.