Skip to content

Commit 4b5cbdb

Browse files
committed
Xqci extensions: additional fixes (based on compiler team feedback)
Signed-off-by: Albert Yosher <[email protected]>
1 parent dc76f01 commit 4b5cbdb

File tree

5 files changed

+36
-1
lines changed

5 files changed

+36
-1
lines changed

cfgs/qc_iu/arch_overlay/ext/Xqci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,12 @@ versions:
149149
changes:
150150
- Fix encoding of qc.c.extu instruction
151151
- Fix encoding of qc.swmi instruction
152+
- Fix decoding of qc.pputci instruction
153+
- Fix decoding of qc.delay instruction (state that immediate cannot be 0)
152154
- Rename qc.slasat -> qc.shlsat
153155
- Rename qc.sllsat -> qc.shlusat
156+
- Add requirement to include Zca extension for Xqcisim since it has 16-bit instructions
157+
- Add requirement to include Zca extension for Xqcisync since it has 16-bit instructions
154158
implies:
155159
- [Xqcia, "0.4.0"]
156160
- [Xqciac, "0.2.0"]
@@ -166,7 +170,9 @@ versions:
166170
- [Xqcilia, "0.2.0"]
167171
- [Xqcilo, "0.2.0"]
168172
- [Xqcilsm, "0.4.0"]
173+
- [Xqcisim, "0.2.0"]
169174
- [Xqcisls, "0.2.0"]
175+
- [Xqcisync, "0.2.0"]
170176
requires:
171177
name: Zca
172178
version: ">= 1.0.0"

cfgs/qc_iu/arch_overlay/ext/Xqcisim.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ versions:
1616
- name: Derek Hower
1717
company: Qualcomm Technologies, Inc.
1818
19+
- version: "0.2.0"
20+
state: frozen
21+
ratification_date: null
22+
contributors:
23+
- name: Albert Yosher
24+
company: Qualcomm Technologies, Inc.
25+
26+
- name: Derek Hower
27+
company: Qualcomm Technologies, Inc.
28+
29+
changes:
30+
- Fix decoding of qc.pputci instruction
31+
- Add requirement to include Zca extension since has 16-bit instructions
32+
requires: { name: Zca, version: ">= 1.0.0" }
1933
description: |
2034
The Xqcisim extension includes ten hint instructions to interface simulation environment.
2135
On real target any instruction from this extension executed as "no-operation" and have no effect.

cfgs/qc_iu/arch_overlay/ext/Xqcisync.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ versions:
1616
- name: Derek Hower
1717
company: Qualcomm Technologies, Inc.
1818
19+
- version: "0.2.0"
20+
state: frozen
21+
ratification_date: null
22+
contributors:
23+
- name: Albert Yosher
24+
company: Qualcomm Technologies, Inc.
25+
26+
- name: Derek Hower
27+
company: Qualcomm Technologies, Inc.
28+
29+
changes:
30+
- Fix decoding of qc.delay instruction (state that immediate cannot be 0)
31+
- Add requirement to include Zca extension since has 16-bit instructions
32+
requires: { name: Zca, version: ">= 1.0.0" }
1933
description: |
2034
The Xqcisync extension includes nine instructions, eight for non-memory-mapped devices synchronization and delay instruction.
2135
Synchronization instructions are kind of IO fences that work with special devices synchronization signals.

cfgs/qc_iu/arch_overlay/inst/Xqci/qc.c.delay.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ encoding:
1818
variables:
1919
- name: imm
2020
location: 6-2
21+
not: 0
2122
access:
2223
s: always
2324
u: always

cfgs/qc_iu/arch_overlay/inst/Xqci/qc.pputci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ encoding:
1818
match: 0100--------00000010000000010011
1919
variables:
2020
- name: imm
21-
location: 29-20
21+
location: 27-20
2222
access:
2323
s: always
2424
u: always

0 commit comments

Comments
 (0)