Skip to content

Commit 6f39295

Browse files
authored
Update auipc.yaml
Fix indentation for operation()
1 parent d3291e8 commit 6f39295

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

arch/inst/I/auipc.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,7 @@ auipc:
1919
vs: always
2020
vu: always
2121
data_independent_timing: true
22-
operation(): X[rd] = $pc + imm;
23-
24-
25-
26-
sail(): |
27-
{
28-
let off : xlenbits = sign_extend(imm @ 0x000);
29-
let ret : xlenbits = match op {
30-
RISCV_LUI => off,
31-
RISCV_AUIPC => get_arch_pc() + off
32-
};
33-
X(rd) = ret;
34-
RETIRE_SUCCESS
35-
}
36-
37-
22+
operation(): X[rd] = $pc + imm;
3823

3924

4025
sail(): |

0 commit comments

Comments
 (0)