Skip to content

Commit 0b11bd7

Browse files
authored
Merge branch 'main' into ext_table
2 parents 227f60e + 2cfeb6e commit 0b11bd7

File tree

6 files changed

+43
-8
lines changed

6 files changed

+43
-8
lines changed

.github/workflows/regress.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
run: ./do test:smoke
4444
regress-gen-isa-manual:
4545
runs-on: ubuntu-latest
46-
needs: regress-smoke
4746
env:
4847
MANUAL_NAME: isa
4948
VERSIONS: all
@@ -72,9 +71,36 @@ jobs:
7271
run: ./bin/build_container
7372
- name: Generate HTML ISA manual
7473
run: ./do gen:html_manual
74+
regress-cfg-manual:
75+
runs-on: ubuntu-latest
76+
env:
77+
SINGULARITY: 1
78+
steps:
79+
- name: Clone Github Repo Action
80+
uses: actions/checkout@v4
81+
- name: Setup apptainer
82+
uses: eWaterCycle/[email protected]
83+
- name: Get container from cache
84+
id: cache-sif
85+
uses: actions/cache@v4
86+
with:
87+
path: .singularity/image.sif
88+
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
89+
- name: Get gems and node files from cache
90+
id: cache-bundle-npm
91+
uses: actions/cache@v4
92+
with:
93+
path: |
94+
.home/.gems
95+
node_modules
96+
key: ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
97+
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
98+
name: Build container
99+
run: ./bin/build_container
100+
- name: Generate HTML ISA manual
101+
run: ./do gen:html[generic_rv64]
75102
regress-gen-ext-pdf:
76103
runs-on: ubuntu-latest
77-
needs: regress-smoke
78104
env:
79105
EXT: B
80106
VERSION: latest
@@ -105,7 +131,6 @@ jobs:
105131
run: ./do gen:ext_pdf
106132
regress-gen-certificate:
107133
runs-on: ubuntu-latest
108-
needs: regress-smoke
109134
env:
110135
SINGULARITY: 1
111136
steps:
@@ -134,7 +159,6 @@ jobs:
134159
run: ./do gen:cert_model_pdf[MockCertificateModel]
135160
regress-gen-profile:
136161
runs-on: ubuntu-latest
137-
needs: regress-smoke
138162
env:
139163
SINGULARITY: 1
140164
steps:

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ def cfg_arch_for(config_name)
3333
)
3434
end
3535

36+
file "#{$root}/.stamps/dev_gems" do |t|
37+
sh "bundle exec yard config --gem-install-yri"
38+
sh "bundle exec yard gem"
39+
FileUtils.touch t.name
40+
end
41+
3642
namespace :gen do
3743
desc "Generate documentation for the ruby tooling"
3844
task tool_doc: "#{$root}/.stamps/dev_gems" do

arch/inst/I/jalr.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ name: jalr
66
long_name: Jump and link register
77
description: |
88
Jump to an address formed by adding rs1
9-
to a signed offset, and store the return address in rd.
9+
to a signed offset then clearing the least
10+
significant bit, and store the return address
11+
in rd.
1012
definedBy: I
1113
assembly: xd, imm(rs1)
1214
encoding:
@@ -27,7 +29,7 @@ operation(): |
2729
XReg returnaddr;
2830
returnaddr = $pc + 4;
2931
30-
jump(X[rs1] + imm);
32+
jump((X[rs1] + imm) & ~XLEN'1);
3133
X[rd] = returnaddr;
3234
3335
sail(): |

cfgs/qc_iu/arch_overlay/ext/Xqci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ versions:
106106
- Added Xqciio sub-extension
107107
- Added Xqcisim sub-extension
108108
- Added Xqcisync sub-extension
109+
- Rename instruction of qc.muladdi to qc.muliadd
110+
- Rename instruction of qc.c.muladdi to qc.c.muliadd
109111
- Fix description of qc.shladd instruction
110112
- Fix description and functionality of qc.c.extu instruction
111113
- Fix description and functionality of qc.wrapi instruction

lib/cfg_arch.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,7 @@ def erb_env
621621

622622
@env = Class.new
623623
@env.instance_variable_set(:@cfg, @cfg)
624+
@env.instance_variable_set(:@cfg_arch, self)
624625
@env.instance_variable_set(:@params, @params)
625626

626627
# add each parameter, either as a method (lowercase) or constant (uppercase)

schemas/csr_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@
226226
},
227227
"address": {
228228
"type": "integer",
229-
"minValue": 0,
230-
"maxValue": 4095,
229+
"minimum": 0,
230+
"maximum": 4095,
231231
"description": "Address of the CSR, as given to the CSR access instructions of the `Zicsr` extension"
232232
},
233233
"indirect_address": {

0 commit comments

Comments
 (0)