Skip to content

Commit

Permalink
Mark xperm4/8 of Zbkx as ratified
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed May 5, 2024
1 parent fbbbd5d commit 4bbd012
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions rv_zbkx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
$import rv_zbp::xperm4
$import rv_zbp::xperm8
xperm4 rd rs1 rs2 31..25=20 14..12=2 6..2=0x0C 1..0=3
xperm8 rd rs1 rs2 31..25=20 14..12=4 6..2=0x0C 1..0=3
4 changes: 2 additions & 2 deletions rv_zk
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ $import rv_zbc::clmul
$import rv_zbc::clmulh

#import zbkx
$import rv_zbp::xperm4
$import rv_zbp::xperm8
$import rv_zbkx::xperm4
$import rv_zbkx::xperm8

#import zknh
# Scalar SHA256 - RV32/RV64
Expand Down
4 changes: 2 additions & 2 deletions rv_zkn
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ $import rv_zbc::clmul
$import rv_zbc::clmulh

#import zbkx
$import rv_zbp::xperm4
$import rv_zbp::xperm8
$import rv_zbkx::xperm4
$import rv_zbkx::xperm8

#import zknh
# Scalar SHA256 - RV32/RV64
Expand Down
4 changes: 2 additions & 2 deletions rv_zks
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ $import rv_zbc::clmul
$import rv_zbc::clmulh

#import zbkx
$import rv_zbp::xperm4
$import rv_zbp::xperm8
$import rv_zbkx::xperm4
$import rv_zbkx::xperm8

# Scalar SM4 - RV32, RV64
$import rv_zksed::sm4ed
Expand Down
2 changes: 0 additions & 2 deletions unratified/rv_zbp
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
xperm4 rd rs1 rs2 31..25=20 14..12=2 6..2=0x0C 1..0=3
xperm8 rd rs1 rs2 31..25=20 14..12=4 6..2=0x0C 1..0=3
xperm16 rd rs1 rs2 31..25=20 14..12=6 6..2=0x0C 1..0=3

0 comments on commit 4bbd012

Please sign in to comment.