Skip to content

Commit 08d31d7

Browse files
docs: fix typo retrun to return (#829)
fixes issue #828
1 parent 11c5055 commit 08d31d7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

arch/inst/C/c.jal.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ operation(): |
3030
raise(ExceptionCode::IllegalInstruction, mode(), $encoding);
3131
}
3232
33-
XReg retrun_addr = $pc + 2;
33+
XReg return_addr = $pc + 2;
3434
3535
jump_halfword($pc + $signed(imm));
36-
X[1] = retrun_addr;
36+
X[1] = return_addr;

arch/inst/I/jal.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ pseudoinstructions:
2929
- when: xd == x1
3030
to: jal imm
3131
operation(): |
32-
XReg retrun_addr = $pc + 4;
32+
XReg return_addr = $pc + 4;
3333
3434
jump_halfword($pc + $signed(imm));
35-
X[xd] = retrun_addr;
35+
X[xd] = return_addr;
3636
3737
# SPDX-SnippetBegin
3838
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>

arch_overlay/qc_iu/inst/Xqci/qc.e.jal.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ access:
2727
vs: always
2828
vu: always
2929
operation(): |
30-
XReg retrun_addr = $pc + 6;
30+
XReg return_addr = $pc + 6;
3131
jump_halfword($pc + imm);
32-
X[1] = retrun_addr;
32+
X[1] = return_addr;

0 commit comments

Comments
 (0)