Skip to content

Commit d647b55

Browse files
authored
Crypto Extensions (#188)
2 parents 95cfa7c + 0d9e2ac commit d647b55

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2173
-13
lines changed

arch/inst/B/andn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ andn:
66
This instruction performs the bitwise logical AND operation between `rs1` and the
77
bitwise inversion of `rs2`.
88
definedBy:
9-
anyOf: [B, Zbb]
9+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
1010
assembly: xd, xs1, xs2
1111
encoding:
1212
match: 0100000----------111-----0110011

arch/inst/B/clmul.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ clmul:
55
description: |
66
`clmul` produces the lower half of the 2*XLEN carry-less product
77
definedBy:
8-
anyOf: [B, Zbc]
8+
anyOf: [B, Zbc, Zbkc, Zk, Zkn, Zks]
99
assembly: xd, xs1, xs2
1010
encoding:
1111
match: 0000101----------001-----0110011

arch/inst/B/clmulh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ clmulh:
55
description: |
66
`clmulh` produces the upper half of the 2*XLEN carry-less product
77
definedBy:
8-
anyOf: [B, Zbc]
8+
anyOf: [B, Zbc, Zbkc, Zk, Zkn, Zks]
99
assembly: xd, xs1, xs2
1010
encoding:
1111
match: 0000101----------011-----0110011

arch/inst/B/orn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ orn:
55
description: |
66
This instruction performs the bitwise logical OR operation between rs1 and the bitwise inversion of rs2.
77
definedBy:
8-
anyOf: [B, Zbb, Zbkb]
8+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
99
assembly: xd, xs1, xs2
1010
encoding:
1111
match: 0100000----------110-----0110011

arch/inst/B/rol.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rol:
55
description: |
66
This instruction performs a rotate left of rs1 by the amount in least-significant `log2(XLEN)` bits of rs2.
77
definedBy:
8-
anyOf: [B, Zbb, Zbkb]
8+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
99
assembly: xd, xs1, xs2
1010
encoding:
1111
match: 0110000----------001-----0110011

arch/inst/B/rolw.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rolw:
66
This instruction performs a rotate left of the least-significant word of rs1 by the amount in least-significant 5 bits of rs2.
77
The resulting word value is sign-extended by copying bit 31 to all of the more-significant bits.
88
definedBy:
9-
anyOf: [B, Zbb, Zbkb]
9+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
1010
assembly: xd, xs1, xs2
1111
base: 64
1212
encoding:

arch/inst/B/ror.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ror:
55
description: |
66
This instruction performs a rotate right of rs1 by the amount in least-significant `log2(XLEN)` bits of rs2.
77
definedBy:
8-
anyOf: [B, Zbb, Zbkb]
8+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
99
assembly: xd, xs1, xs2
1010
encoding:
1111
match: 0110000----------101-----0110011

arch/inst/B/rori.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rori:
66
This instruction performs a rotate right of rs1 by the amount in the least-significant log2(XLEN) bits of shamt.
77
For RV32, the encodings corresponding to shamt[5]=1 are reserved.
88
definedBy:
9-
anyOf: [B, Zbb, Zbkb]
9+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
1010
assembly: xd, xs1, shamt
1111
encoding:
1212
RV32:

arch/inst/B/roriw.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ roriw:
77
the least-significant log2(XLEN) bits of shamt. The resulting word value is sign-extended by
88
copying bit 31 to all of the more-significant bits.
99
definedBy:
10-
anyOf: [B, Zbb, Zbkb]
10+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
1111
assembly: xd, xs1, shamt
1212
base: 64
1313
encoding:

arch/inst/B/rorw.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rorw:
77
least-significant 5 bits of rs2. The resultant word is sign-extended by copying bit 31 to all
88
of the more-significant bits.
99
definedBy:
10-
anyOf: [B, Zbb, Zbkb]
10+
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
1111
assembly: xd, xs1, xs2
1212
base: 64
1313
encoding:

0 commit comments

Comments
 (0)