Skip to content

Commit 15f680c

Browse files
Merge branch 'main' into 176-missing-description-for-mip-csr
2 parents efe87b3 + c538d80 commit 15f680c

File tree

132 files changed

+2898
-100
lines changed

Some content is hidden

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

132 files changed

+2898
-100
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM ubuntu:24.04 AS spython-base
22
RUN export DEBIAN_FRONTEND=noninteractive
33
RUN apt-get update
4-
RUN apt-get install -y --no-install-recommends git
4+
RUN apt-get install -y --no-install-recommends git gh
5+
RUN apt-get install -y --no-install-recommends less
56
RUN apt-get install -y --no-install-recommends python3
67
RUN apt-get install -y --no-install-recommends python3.12-venv python3-pip
78
RUN apt-get install -y --no-install-recommends build-essential

arch/csr/I/mcounteren.layout

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ fields:
104104
When `hcounteren.CY` && `scounteren.CY` are both set, `cycle` is futher accessible to VU-mode.
105105
<%%- end -%>
106106
type(): |
107-
if (MCOUNTENABLE_EN[2]) {
107+
if (MCOUNTENABLE_EN[0]) {
108108
return CsrFieldType::RW;
109109
} else {
110110
return CsrFieldType::RO;
111111
}
112112
reset_value(): |
113-
if (MCOUNTENABLE_EN[2]) {
113+
if (MCOUNTENABLE_EN[0]) {
114114
return UNDEFINED_LEGAL;
115115
} else {
116116
return 0;

arch/csr/I/mcounteren.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ fields:
107107
When `hcounteren.CY` && `scounteren.CY` are both set, `cycle` is futher accessible to VU-mode.
108108
<%- end -%>
109109
type(): |
110-
if (MCOUNTENABLE_EN[2]) {
110+
if (MCOUNTENABLE_EN[0]) {
111111
return CsrFieldType::RW;
112112
} else {
113113
return CsrFieldType::RO;
114114
}
115115
reset_value(): |
116-
if (MCOUNTENABLE_EN[2]) {
116+
if (MCOUNTENABLE_EN[0]) {
117117
return UNDEFINED_LEGAL;
118118
} else {
119119
return 0;

arch/inst/D/fadd.d.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fadd.d
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1, xs2, rm
11+
encoding:
12+
match: 0000001------------------1010011
13+
variables:
14+
- name: rs2
15+
location: 24-20
16+
- name: rs1
17+
location: 19-15
18+
- name: rm
19+
location: 14-12
20+
- name: rd
21+
location: 11-7
22+
access:
23+
s: always
24+
u: always
25+
vs: always
26+
vu: always
27+
data_independent_timing: false
28+
operation(): |
29+

arch/inst/D/fclass.d.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fclass.d
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1
11+
encoding:
12+
match: 111000100000-----001-----1010011
13+
variables:
14+
- name: rs1
15+
location: 19-15
16+
- name: rd
17+
location: 11-7
18+
access:
19+
s: always
20+
u: always
21+
vs: always
22+
vu: always
23+
data_independent_timing: false
24+
operation(): |
25+

arch/inst/D/fcvt.d.l.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fcvt.d.l
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1, rm
11+
encoding:
12+
match: 110100100010-------------1010011
13+
variables:
14+
- name: rs1
15+
location: 19-15
16+
- name: rm
17+
location: 14-12
18+
- name: rd
19+
location: 11-7
20+
access:
21+
s: always
22+
u: always
23+
vs: always
24+
vu: always
25+
data_independent_timing: false
26+
base: 64
27+
operation(): |
28+

arch/inst/D/fcvt.d.lu.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fcvt.d.lu
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1, rm
11+
encoding:
12+
match: 110100100011-------------1010011
13+
variables:
14+
- name: rs1
15+
location: 19-15
16+
- name: rm
17+
location: 14-12
18+
- name: rd
19+
location: 11-7
20+
access:
21+
s: always
22+
u: always
23+
vs: always
24+
vu: always
25+
data_independent_timing: false
26+
base: 64
27+
operation(): |
28+

arch/inst/D/fcvt.d.s.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fcvt.d.s
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1, rm
11+
encoding:
12+
match: 010000100000-------------1010011
13+
variables:
14+
- name: rs1
15+
location: 19-15
16+
- name: rm
17+
location: 14-12
18+
- name: rd
19+
location: 11-7
20+
access:
21+
s: always
22+
u: always
23+
vs: always
24+
vu: always
25+
data_independent_timing: false
26+
operation(): |
27+

arch/inst/D/fcvt.d.w.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fcvt.d.w
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1, rm
11+
encoding:
12+
match: 110100100000-------------1010011
13+
variables:
14+
- name: rs1
15+
location: 19-15
16+
- name: rm
17+
location: 14-12
18+
- name: rd
19+
location: 11-7
20+
access:
21+
s: always
22+
u: always
23+
vs: always
24+
vu: always
25+
data_independent_timing: false
26+
operation(): |
27+

arch/inst/D/fcvt.d.wu.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: instruction
5+
name: fcvt.d.wu
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: D
10+
assembly: xd, xs1, rm
11+
encoding:
12+
match: 110100100001-------------1010011
13+
variables:
14+
- name: rs1
15+
location: 19-15
16+
- name: rm
17+
location: 14-12
18+
- name: rd
19+
location: 11-7
20+
access:
21+
s: always
22+
u: always
23+
vs: always
24+
vu: always
25+
data_independent_timing: false
26+
operation(): |
27+

0 commit comments

Comments
 (0)