diff --git a/cont.c b/cont.c index dd41a16d18..f480923c5a 100644 --- a/cont.c +++ b/cont.c @@ -28,9 +28,9 @@ /* Enable FIBER_USE_COROUTINE to make fiber yield/resume much faster by using native assembly implementations. - + rvm install ruby-head-ioquatix-native-fiber --url https://github.com/ioquatix/ruby --branch native-fiber - + # Without libcoro koyoko% ./build/bin/ruby ./fiber_benchmark.rb 10000 1000 setup time for 10000 fibers: 0.099961 diff --git a/coroutine/win64/Context.asm b/coroutine/win64/Context.asm index d699bd14ad..a9f819a8c6 100644 --- a/coroutine/win64/Context.asm +++ b/coroutine/win64/Context.asm @@ -18,7 +18,7 @@ coroutine_transfer proc push r15 ; Save caller stack pointer - mov [rcx], rsp + mov [rcx], rsp ; Restore callee stack pointer mov rsp, [rdx]