Skip to content

Commit 0fb90ac

Browse files
authored
Merge pull request #269 from riscv-software-src/fixInstructions
Fix instructions encodings/variables
2 parents cd37f0b + dd4d3a4 commit 0fb90ac

Some content is hidden

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

45 files changed

+82
-154
lines changed

arch/inst/B/slli.uw.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ slli.uw:
1212
anyOf: [B, Zba]
1313
base: 64
1414
encoding:
15-
match: 0000010----------001-----0011011
15+
match: 000010-----------001-----0011011
1616
variables:
1717
- name: shamt
18-
location: 24-20
18+
location: 25-20
1919
- name: rs1
2020
location: 19-15
2121
- name: rd

arch/inst/I/lb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lb:
99
definedBy: I
1010
assembly: xd, imm(rs1)
1111
encoding:
12-
match: -----------------000-----0000111
12+
match: -----------------000-----0000011
1313
variables:
1414
- name: imm
1515
location: 31-20

arch/inst/I/lbu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lbu:
99
definedBy: I
1010
assembly: xd, imm(rs1)
1111
encoding:
12-
match: -----------------100-----0000111
12+
match: -----------------100-----0000011
1313
variables:
1414
- name: imm
1515
location: 31-20

arch/inst/I/ld.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ld:
99
base: 64
1010
assembly: xd, imm(rs1)
1111
encoding:
12-
match: -----------------011-----0000111
12+
match: -----------------011-----0000011
1313
variables:
1414
- name: imm
1515
location: 31-20

arch/inst/I/lh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lh:
99
definedBy: I
1010
assembly: xd, imm(rs1)
1111
encoding:
12-
match: -----------------001-----0000111
12+
match: -----------------001-----0000011
1313
variables:
1414
- name: imm
1515
location: 31-20

arch/inst/I/lhu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lhu:
99
definedBy: I
1010
assembly: xd, imm(rs1)
1111
encoding:
12-
match: -----------------101-----0000111
12+
match: -----------------101-----0000011
1313
variables:
1414
- name: imm
1515
location: 31-20

arch/inst/I/lui.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ lui:
66
definedBy: I
77
assembly: xd, imm
88
encoding:
9-
match: -------------------------0000111
9+
match: -------------------------0110111
1010
variables:
1111
- name: imm
1212
location: 31-12

arch/inst/I/lw.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lw:
99
definedBy: I
1010
assembly: xd, imm(rs1)
1111
encoding:
12-
match: -----------------010-----0000111
12+
match: -----------------010-----0000011
1313
variables:
1414
- name: imm
1515
location: 31-20

arch/inst/I/lwu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lwu:
1010
base: 64
1111
assembly: xd, imm(rs1)
1212
encoding:
13-
match: -----------------110-----0000111
13+
match: -----------------110-----0000011
1414
variables:
1515
- name: imm
1616
location: 31-20

arch/inst/V/vle16.v.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ vle16.v:
55
description: |
66
No description available.
77
definedBy: V
8-
assembly: nf, vm, xs1, vd
8+
assembly: vm, xs1, vd
99
encoding:
10-
match: ---000-00000-----101-----0000111
10+
match: 000000-00000-----101-----0000111
1111
variables:
12-
- name: nf
13-
location: 31-29
1412
- name: vm
1513
location: 25-25
1614
- name: rs1

0 commit comments

Comments
 (0)