Commit 564d885
committed
[Fix] pass x16 register as parameter for SBI call
The previous approach "li x16,0" may prevent the compiler from recognizing x16 as a function parameter, resulting in the caller saved register saving mechanism not being triggered in release mode.1 parent 754802a commit 564d885
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments