File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -179,17 +179,16 @@ asm(
179
179
" movi a2, stack_thunk_save\n\t "
180
180
/* But, only when inside of bssl stack (saved a1 != 0) */
181
181
" l32i.n a3, a2, 0\n\t "
182
- " beqz a3, stack_thunk_yield_restore \n\t "
182
+ " beqz a3, stack_thunk_yield_do_yield \n\t "
183
183
" l32i.n a1, a2, 0\n\t "
184
184
/* optimistic_yield(10000) without extra l32r */
185
+ " stack_thunk_yield_do_yield:\n\t "
185
186
" movi a2, 0x10\n\t "
186
187
" addmi a2, a2, 0x2700\n\t "
187
188
" call0 optimistic_yield\n\t "
188
189
/* Swap bearssl <-> cont stacks, again */
189
- " stack_thunk_yield_restore:\n\t "
190
190
" movi a2, stack_thunk_yield_save\n\t "
191
191
" l32i.n a1, a2, 0\n\t "
192
- " \n "
193
192
/* Restore caller */
194
193
" l32i.n a0, a1, 12\n\t "
195
194
" addi a1, a1, 16\n\t "
You can’t perform that action at this time.
0 commit comments