Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions arch_overlay/qc_iu/ext/Xqci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ versions:
- { name: Xqcili, version: "0.2.0" }
- { name: Xqcilia, version: "0.2.0" }
- { name: Xqcilo, version: "0.3.0" }
- { name: Xqcilsm, version: "0.6.0" }
- { name: Xqcilsm, version: "0.5.0" }
- { name: Xqcisim, version: "0.2.0" }
- { name: Xqcisls, version: "0.2.0" }
- { name: Xqcisync, version: "0.3.0" }
Expand Down Expand Up @@ -421,7 +421,42 @@ versions:
- { name: Xqcili, version: "0.2.0" }
- { name: Xqcilia, version: "0.2.0" }
- { name: Xqcilo, version: "0.3.0" }
- { name: Xqcilsm, version: "0.5.0" }
- { name: Xqcilsm, version: "0.6.0" }
- { name: Xqcisim, version: "0.2.0" }
- { name: Xqcisls, version: "0.2.0" }
- { name: Xqcisync, version: "0.3.0" }
requires:
name: Zca
version: ">= 1.0.0"
- version: "0.13.0"
state: frozen
ratification_date: null
contributors:
- name: Albert Yosher
company: Qualcomm Technologies, Inc.
email: [email protected]
- name: Derek Hower
company: Qualcomm Technologies, Inc.
email: [email protected]
changes:
- Fix version history of releases v0.11.0 and v0.12.0
- Fix description and IDL code of qc.csrrwr instruction to allow just read CSR
implies:
- { name: Xqcia, version: "0.7.0" }
- { name: Xqciac, version: "0.3.0" }
- { name: Xqcibi, version: "0.2.0" }
- { name: Xqcibm, version: "0.8.0" }
- { name: Xqcicli, version: "0.3.0" }
- { name: Xqcicm, version: "0.2.0" }
- { name: Xqcics, version: "0.2.0" }
- { name: Xqcicsr, version: "0.4.0" }
- { name: Xqciint, version: "0.9.0" }
- { name: Xqciio, version: "0.1.0" }
- { name: Xqcilb, version: "0.2.0" }
- { name: Xqcili, version: "0.2.0" }
- { name: Xqcilia, version: "0.2.0" }
- { name: Xqcilo, version: "0.3.0" }
- { name: Xqcilsm, version: "0.6.0" }
- { name: Xqcisim, version: "0.2.0" }
- { name: Xqcisls, version: "0.2.0" }
- { name: Xqcisync, version: "0.3.0" }
Expand Down
12 changes: 12 additions & 0 deletions arch_overlay/qc_iu/ext/Xqcicsr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ versions:
email: [email protected]
changes:
- Remove qc.flags CSR
- version: "0.4.0"
state: frozen
ratification_date: null
contributors:
- name: Albert Yosher
company: Qualcomm Technologies, Inc.
email: [email protected]
- name: Derek Hower
company: Qualcomm Technologies, Inc.
email: [email protected]
changes:
- Fix description and IDL code of qc.csrrwr instruction to allow just read CSR
description: |
The Xqcicsr extension contains two instructions to read/write CSR which index is in register and not immediate.

Expand Down
10 changes: 7 additions & 3 deletions arch_overlay/qc_iu/inst/Xqci/qc.csrrwr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ description: |
The initial value in `rs1` is written to the CSR.
If `rd`=`x0`, then the instruction shall not read the CSR and shall not
cause any of the side effects that might occur on a CSR read.
If `rs1`=`x0`, then the instruction shall not write to the CSR and shall not
cause any of the side effects that might occur on a CSR write.
Instruction encoded in R instruction format.
definedBy:
anyOf:
Expand Down Expand Up @@ -40,6 +42,8 @@ operation(): |
if (rd != 0) {
X[rd] = csr_sw_read(csr);
}
# writes the value in X[rs1] to the CSR,
# performing any WARL transformations first
csr_sw_write(csr, X[rs1]);
if (rs1 != 0) {
# writes the value in X[rs1] to the CSR,
# performing any WARL transformations first
csr_sw_write(csr, X[rs1]);
}
Loading