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(
179179 " movi a2, stack_thunk_save\n\t "
180180/* But, only when inside of bssl stack (saved a1 != 0) */
181181 " 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 "
183183 " l32i.n a1, a2, 0\n\t "
184184/* optimistic_yield(10000) without extra l32r */
185+ " stack_thunk_yield_do_yield:\n\t "
185186 " movi a2, 0x10\n\t "
186187 " addmi a2, a2, 0x2700\n\t "
187188 " call0 optimistic_yield\n\t "
188189/* Swap bearssl <-> cont stacks, again */
189- " stack_thunk_yield_restore:\n\t "
190190 " movi a2, stack_thunk_yield_save\n\t "
191191 " l32i.n a1, a2, 0\n\t "
192- " \n "
193192/* Restore caller */
194193 " l32i.n a0, a1, 12\n\t "
195194 " addi a1, a1, 16\n\t "
You can’t perform that action at this time.
0 commit comments