Skip to content

Commit

Permalink
Merge branch 'main' into 176-missing-description-for-mip-csr
Browse files Browse the repository at this point in the history
  • Loading branch information
james-ball-qualcomm authored Nov 19, 2024
2 parents efe87b3 + c538d80 commit 15f680c
Show file tree
Hide file tree
Showing 132 changed files with 2,898 additions and 100 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM ubuntu:24.04 AS spython-base
RUN export DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y --no-install-recommends git
RUN apt-get install -y --no-install-recommends git gh
RUN apt-get install -y --no-install-recommends less
RUN apt-get install -y --no-install-recommends python3
RUN apt-get install -y --no-install-recommends python3.12-venv python3-pip
RUN apt-get install -y --no-install-recommends build-essential
Expand Down
4 changes: 2 additions & 2 deletions arch/csr/I/mcounteren.layout
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ fields:
When `hcounteren.CY` && `scounteren.CY` are both set, `cycle` is futher accessible to VU-mode.
<%%- end -%>
type(): |
if (MCOUNTENABLE_EN[2]) {
if (MCOUNTENABLE_EN[0]) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
}
reset_value(): |
if (MCOUNTENABLE_EN[2]) {
if (MCOUNTENABLE_EN[0]) {
return UNDEFINED_LEGAL;
} else {
return 0;
Expand Down
4 changes: 2 additions & 2 deletions arch/csr/I/mcounteren.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ fields:
When `hcounteren.CY` && `scounteren.CY` are both set, `cycle` is futher accessible to VU-mode.
<%- end -%>
type(): |
if (MCOUNTENABLE_EN[2]) {
if (MCOUNTENABLE_EN[0]) {
return CsrFieldType::RW;
} else {
return CsrFieldType::RO;
}
reset_value(): |
if (MCOUNTENABLE_EN[2]) {
if (MCOUNTENABLE_EN[0]) {
return UNDEFINED_LEGAL;
} else {
return 0;
Expand Down
29 changes: 29 additions & 0 deletions arch/inst/D/fadd.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fadd.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, xs2, rm
encoding:
match: 0000001------------------1010011
variables:
- name: rs2
location: 24-20
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/D/fclass.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fclass.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1
encoding:
match: 111000100000-----001-----1010011
variables:
- name: rs1
location: 19-15
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
28 changes: 28 additions & 0 deletions arch/inst/D/fcvt.d.l.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.d.l
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110100100010-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
base: 64
operation(): |
28 changes: 28 additions & 0 deletions arch/inst/D/fcvt.d.lu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.d.lu
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110100100011-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
base: 64
operation(): |
27 changes: 27 additions & 0 deletions arch/inst/D/fcvt.d.s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.d.s
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 010000100000-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
27 changes: 27 additions & 0 deletions arch/inst/D/fcvt.d.w.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.d.w
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110100100000-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
27 changes: 27 additions & 0 deletions arch/inst/D/fcvt.d.wu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.d.wu
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110100100001-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
28 changes: 28 additions & 0 deletions arch/inst/D/fcvt.l.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.l.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110000100010-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
base: 64
operation(): |
28 changes: 28 additions & 0 deletions arch/inst/D/fcvt.lu.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.lu.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110000100011-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
base: 64
operation(): |
27 changes: 27 additions & 0 deletions arch/inst/D/fcvt.s.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.s.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 010000000001-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
27 changes: 27 additions & 0 deletions arch/inst/D/fcvt.w.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.w.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110000100000-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
27 changes: 27 additions & 0 deletions arch/inst/D/fcvt.wu.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

$schema: inst_schema.json#
kind: instruction
name: fcvt.wu.d
long_name: No synopsis available.
description: |
No description available.
definedBy: D
assembly: xd, xs1, rm
encoding:
match: 110000100001-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
Loading

0 comments on commit 15f680c

Please sign in to comment.