Skip to content

Commit 30a6c41

Browse files
authored
Umbrella extensions shouldn't define instructions (#435)
* Extension A doesn't define any instructions (anymore) Some instructions claim to be defined by the "A" extension or another extension. Extension A was split into two "sub-extensions", "Zaamo" and "Zalrsc", then defined to simply encompass both sub-extensions. Since these instructions are actually now defined by the sub-extensions, the instructions should only claim to be defined by them. Also, move the instruction YAML files from `arch/inst/A` to their new respective directories `arch/inst/{Zaamo,Zalrsc}`. * Extension B doesn't define any instructions (anymore) Some instructions claim to be defined by the "B" extension. Extension B was split into four "sub-extensions": "Zba", "Zbb", and "Zbs", then defined to simply encompass these sub-extensions. Additionally, ratified extensions "Zbc", "Zbkb", "Zbkc", and "Zbkx" are under the "B" umbrella (at least in the ISA 20240411, these are all in Chapter 28 "B" Extension for Bit Manipulation, Version 1.0.0", but these 3 extensions are shown only as "frozen"). Since these instructions are actually now defined by the sub-extensions, the instructions should only claim to be defined by them. Also, move the instruction YAML files from `arch/inst/B` to their new respective directories `arch/inst/{Zba,Zbb,Zbc,Zbs,Zbkb,Zbkc,Zbkx}`, when there is only one defining extension. Some instructions are defined by multiple extensions. These are left in the `arch/inst/B` directory, for lack of an unambiguously better location. * Extensions Zk, Zkn, Zks don't define any instructions Some instructions claim to be defined by the "Zk/Zkn/Zks" extensions. Remove these claims. Also, move the instruction YAML files from `arch/inst/Zk` to their new respective directories `arch/inst/{Zknd,Zkne,Zbkb}`, when there is only one defining extension. Some instructions are defined by multiple extensions. These are moved to the `arch/inst/Zkn` directory, for lack of an unambiguously better location. * Extensions Zvkn, Zvks don't define any instructions Some instructions claim to be defined by the "Zvkn/Zvks" extensions. Remove these claims. Also, move some instruction YAML files to their new respective directories `arch/inst/{Zvkned,Zvknha}`.
1 parent ca77a99 commit 30a6c41

File tree

127 files changed

+128
-241
lines changed

Some content is hidden

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

127 files changed

+128
-241
lines changed

arch/inst/B/andn.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
This instruction performs the bitwise logical AND operation between `rs1` and the
99
bitwise inversion of `rs2`.
1010
definedBy:
11-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
11+
anyOf: [Zbb, Zbkb]
1212
assembly: xd, xs1, xs2
1313
encoding:
1414
match: 0100000----------111-----0110011

arch/inst/B/clmul.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_name: Carry-less multiply (low-part)
77
description: |
88
`clmul` produces the lower half of the 2*XLEN carry-less product
99
definedBy:
10-
anyOf: [Zbc, Zbkc, Zk, Zkn, Zks]
10+
anyOf: [Zbc, Zbkc]
1111
assembly: xd, xs1, xs2
1212
encoding:
1313
match: 0000101----------001-----0110011

arch/inst/B/clmulh.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_name: Carry-less multiply (high-part)
77
description: |
88
`clmulh` produces the upper half of the 2*XLEN carry-less product
99
definedBy:
10-
anyOf: [Zbc, Zbkc, Zk, Zkn, Zks]
10+
anyOf: [Zbc, Zbkc]
1111
assembly: xd, xs1, xs2
1212
encoding:
1313
match: 0000101----------011-----0110011

arch/inst/B/orn.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_name: OR with inverted operand
77
description: |
88
This instruction performs the bitwise logical OR operation between rs1 and the bitwise inversion of rs2.
99
definedBy:
10-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
10+
anyOf: [Zbb, Zbkb]
1111
assembly: xd, xs1, xs2
1212
encoding:
1313
match: 0100000----------110-----0110011

arch/inst/B/rev8.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: |
1515
and halfword-sized byte-reversal, perform a `rev8 rd,rs` followed by a `srai rd,rd,K`, where K
1616
is XLEN-32 and XLEN-16, respectively.
1717
definedBy:
18-
anyOf: [B, Zbb, Zbkb]
18+
anyOf: [Zbb, Zbkb]
1919
assembly: xd, xs1
2020
encoding:
2121
RV32:

arch/inst/B/rol.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_name: Rotate left (Register)
77
description: |
88
This instruction performs a rotate left of rs1 by the amount in least-significant `log2(XLEN)` bits of rs2.
99
definedBy:
10-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
10+
anyOf: [Zbb, Zbkb]
1111
assembly: xd, xs1, xs2
1212
encoding:
1313
match: 0110000----------001-----0110011

arch/inst/B/rolw.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
This instruction performs a rotate left of the least-significant word of rs1 by the amount in least-significant 5 bits of rs2.
99
The resulting word value is sign-extended by copying bit 31 to all of the more-significant bits.
1010
definedBy:
11-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
11+
anyOf: [Zbb, Zbkb]
1212
assembly: xd, xs1, xs2
1313
base: 64
1414
encoding:

arch/inst/B/ror.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_name: Rotate right (Register)
77
description: |
88
This instruction performs a rotate right of rs1 by the amount in least-significant `log2(XLEN)` bits of rs2.
99
definedBy:
10-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
10+
anyOf: [Zbb, Zbkb]
1111
assembly: xd, xs1, xs2
1212
encoding:
1313
match: 0110000----------101-----0110011

arch/inst/B/rori.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
This instruction performs a rotate right of rs1 by the amount in the least-significant log2(XLEN) bits of shamt.
99
For RV32, the encodings corresponding to shamt[5]=1 are reserved.
1010
definedBy:
11-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
11+
anyOf: [Zbb, Zbkb]
1212
assembly: xd, xs1, shamt
1313
encoding:
1414
RV32:

arch/inst/B/roriw.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99
the least-significant log2(XLEN) bits of shamt. The resulting word value is sign-extended by
1010
copying bit 31 to all of the more-significant bits.
1111
definedBy:
12-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
12+
anyOf: [Zbb, Zbkb]
1313
assembly: xd, xs1, shamt
1414
base: 64
1515
encoding:

arch/inst/B/rorw.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99
least-significant 5 bits of rs2. The resultant word is sign-extended by copying bit 31 to all
1010
of the more-significant bits.
1111
definedBy:
12-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
12+
anyOf: [Zbb, Zbkb]
1313
assembly: xd, xs1, xs2
1414
base: 64
1515
encoding:

arch/inst/B/xnor.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_name: Exclusive NOR
77
description: |
88
This instruction performs the bit-wise exclusive-NOR operation on rs1 and rs2.
99
definedBy:
10-
anyOf: [B, Zbb, Zbkb, Zk, Zkn, Zks]
10+
anyOf: [Zbb, Zbkb]
1111
assembly: xd, xs1, xs2
1212
encoding:
1313
match: 0100000----------100-----0110011

arch/inst/A/amoadd.d.yaml renamed to arch/inst/Zaamo/amoadd.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* Add the value of register _rs2_ to the loaded value
1313
* Write the sum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xs1)
1817
encoding:

arch/inst/A/amoadd.w.yaml renamed to arch/inst/Zaamo/amoadd.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* Add the least-significant word of register _rs2_ to the loaded value
1313
* Write the sum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 00000------------010-----0101111

arch/inst/A/amoand.d.yaml renamed to arch/inst/Zaamo/amoand.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* AND the value of register _rs2_ to the loaded value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amoand.w.yaml renamed to arch/inst/Zaamo/amoand.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* AND the least-significant word of register _rs2_ to the loaded value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 01100------------010-----0101111

arch/inst/A/amomax.d.yaml renamed to arch/inst/Zaamo/amomax.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* Signed compare the value of register _rs2_ to the loaded value, and select the maximum value
1313
* Write the maximum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amomax.w.yaml renamed to arch/inst/Zaamo/amomax.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* Signed compare the least-significant word of register _rs2_ to the loaded value, and select the maximum value
1313
* Write the maximum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 10100------------010-----0101111

arch/inst/A/amomaxu.d.yaml renamed to arch/inst/Zaamo/amomaxu.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* Unsigned compare the value of register _rs2_ to the loaded value, and select the maximum value
1313
* Write the maximum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amomaxu.w.yaml renamed to arch/inst/Zaamo/amomaxu.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* Unsigned compare the least-significant word of register _rs2_ to the loaded value, and select the maximum value
1313
* Write the maximum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 11100------------010-----0101111

arch/inst/A/amomin.d.yaml renamed to arch/inst/Zaamo/amomin.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* Signed compare the value of register _rs2_ to the loaded value, and select the minimum value
1313
* Write the minimum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amomin.w.yaml renamed to arch/inst/Zaamo/amomin.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* Signed compare the least-significant word of register _rs2_ to the loaded value, and select the minimum value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 10000------------010-----0101111

arch/inst/A/amominu.d.yaml renamed to arch/inst/Zaamo/amominu.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* Unsigned compare the value of register _rs2_ to the loaded value, and select the minimum value
1313
* Write the minimum to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amominu.w.yaml renamed to arch/inst/Zaamo/amominu.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* Unsigned compare the least-significant word of register _rs2_ to the loaded word, and select the minimum value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 11000------------010-----0101111

arch/inst/A/amoor.d.yaml renamed to arch/inst/Zaamo/amoor.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* OR the value of register _rs2_ to the loaded value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amoor.w.yaml renamed to arch/inst/Zaamo/amoor.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* OR the least-significant word of register _rs2_ to the loaded value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 01000------------010-----0101111

arch/inst/A/amoswap.d.yaml renamed to arch/inst/Zaamo/amoswap.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ description: |
1010
* Load the doubleword at address _rs1_
1111
* Write the value into _rd_
1212
* Store the value of register _rs2_ to the address in _rs1_
13-
definedBy:
14-
anyOf: [A, Zaamo]
13+
definedBy: Zaamo
1514
base: 64
1615
assembly: xd, xs2, (xrs1)
1716
encoding:

arch/inst/A/amoswap.w.yaml renamed to arch/inst/Zaamo/amoswap.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ description: |
1010
* Load the word at address _rs1_
1111
* Write the sign-extended value into _rd_
1212
* Store the least-significant word of register _rs2_ to the address in _rs1_
13-
definedBy:
14-
anyOf: [A, Zaamo]
13+
definedBy: Zaamo
1514
assembly: xd, xs2, (xrs1)
1615
encoding:
1716
match: 00001------------010-----0101111

arch/inst/A/amoxor.d.yaml renamed to arch/inst/Zaamo/amoxor.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the loaded value into _rd_
1212
* XOR the value of register _rs2_ to the loaded value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
base: 64
1716
assembly: xd, xs2, (xrs1)
1817
encoding:

arch/inst/A/amoxor.w.yaml renamed to arch/inst/Zaamo/amoxor.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ description: |
1111
* Write the sign-extended value into _rd_
1212
* XOR the least-significant word of register _rs2_ to the loaded value
1313
* Write the result to the address in _rs1_
14-
definedBy:
15-
anyOf: [A, Zaamo]
14+
definedBy: Zaamo
1615
assembly: xd, xs2, (xrs1)
1716
encoding:
1817
match: 00100------------010-----0101111

arch/inst/A/lr.d.yaml renamed to arch/inst/Zalrsc/lr.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ description: |
4242
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
4343
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
4444
with both bits clear, but may result in lower performance.
45-
definedBy:
46-
anyOf: [A, Zalrsc]
45+
definedBy: Zalrsc
4746
base: 64
4847
assembly: xd, xs1
4948
encoding:

arch/inst/A/lr.w.yaml renamed to arch/inst/Zalrsc/lr.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ description: |
4747
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
4848
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
4949
with both bits clear, but may result in lower performance.
50-
definedBy:
51-
anyOf: [A, Zalrsc]
50+
definedBy: Zalrsc
5251
assembly: xd, xs1
5352
encoding:
5453
match: 00010--00000-----010-----0101111

arch/inst/A/sc.d.yaml renamed to arch/inst/Zalrsc/sc.d.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ description: |
9898
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
9999
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
100100
with both bits clear, but may result in lower performance.
101-
definedBy:
102-
anyOf: [A, Zalrsc]
101+
definedBy: Zalrsc
103102
base: 64
104103
assembly: xd, xs2, xs1
105104
encoding:

arch/inst/A/sc.w.yaml renamed to arch/inst/Zalrsc/sc.w.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ description: |
104104
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
105105
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
106106
with both bits clear, but may result in lower performance.
107-
definedBy:
108-
anyOf: [A, Zalrsc]
107+
definedBy: Zalrsc
109108
assembly: xd, xs2, xs1
110109
encoding:
111110
match: 00011------------010-----0101111

arch/inst/B/add.uw.yaml renamed to arch/inst/Zba/add.uw.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ base: 64
88
description: |
99
This instruction performs an XLEN-wide addition between rs2 and the
1010
zero-extended least-significant word of rs1.
11-
definedBy:
12-
anyOf: [B, Zba]
11+
definedBy: Zba
1312
assembly: xd, xs1, xs2
1413
encoding:
1514
match: 0000100----------000-----0111011

arch/inst/B/sh1add.uw.yaml renamed to arch/inst/Zba/sh1add.uw.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ description: |
88
This instruction performs an XLEN-wide addition of two addends. The first addend is rs2.
99
The second addend is the unsigned value formed by extracting the least-significant word of rs1
1010
and shifting it left by 1 place.
11-
definedBy:
12-
anyOf: [B, Zba]
11+
definedBy: Zba
1312
base: 64
1413
encoding:
1514
match: 0010000----------010-----0111011

arch/inst/B/sh1add.yaml renamed to arch/inst/Zba/sh1add.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ name: sh1add
66
long_name: Shift left by 1 and add
77
description: |
88
This instruction shifts `rs1` to the left by 1 bit and adds it to `rs2`.
9-
definedBy:
10-
anyOf: [B, Zba]
9+
definedBy: Zba
1110
assembly: xd, xs1, xs2
1211
encoding:
1312
match: 0010000----------010-----0110011

arch/inst/B/sh2add.uw.yaml renamed to arch/inst/Zba/sh2add.uw.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ description: |
88
This instruction performs an XLEN-wide addition of two addends. The first addend is rs2.
99
The second addend is the unsigned value formed by extracting the least-significant word of rs1
1010
and shifting it left by 2 places.
11-
definedBy:
12-
anyOf: [B, Zba]
11+
definedBy: Zba
1312
base: 64
1413
assembly: xd, xs1, xs2
1514
encoding:

arch/inst/B/sh2add.yaml renamed to arch/inst/Zba/sh2add.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ name: sh2add
66
long_name: Shift left by 2 and add
77
description: |
88
This instruction shifts `rs1` to the left by 2 places and adds it to `rs2`.
9-
definedBy:
10-
anyOf: [B, Zba]
9+
definedBy: Zba
1110
assembly: xd, xs1, xs2
1211
encoding:
1312
match: 0010000----------100-----0110011

arch/inst/B/sh3add.uw.yaml renamed to arch/inst/Zba/sh3add.uw.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ description: |
88
This instruction performs an XLEN-wide addition of two addends. The first addend is rs2.
99
The second addend is the unsigned value formed by extracting the least-significant word of rs1
1010
and shifting it left by 3 places.
11-
definedBy:
12-
anyOf: [B, Zba]
11+
definedBy: Zba
1312
base: 64
1413
assembly: xd, xs1, xs2
1514
encoding:

arch/inst/B/sh3add.yaml renamed to arch/inst/Zba/sh3add.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ name: sh3add
66
long_name: Shift left by 3 and add
77
description: |
88
This instruction shifts `rs1` to the left by 3 places and adds it to `rs2`.
9-
definedBy:
10-
anyOf: [B, Zba]
9+
definedBy: Zba
1110
assembly: xd, xs1, xs2
1211
encoding:
1312
match: 0010000----------110-----0110011

0 commit comments

Comments
 (0)