feat update aarch64 asm
Some checks failed
android / build (push) Successful in 1m35s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 3m58s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 4m37s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 3m24s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 4m59s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 5m15s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 5m17s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m25s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 1m52s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m3s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 3m35s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 4m12s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 9m49s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 10m19s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 5m22s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 6m50s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 5m0s
Some checks failed
android / build (push) Successful in 1m35s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 3m58s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 4m37s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 3m24s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 4m59s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 5m15s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 5m17s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m25s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 1m52s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m3s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 3m35s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 4m12s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 9m49s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 10m19s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 5m22s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 6m50s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 5m0s
This commit is contained in:
parent
0dce11b0dd
commit
70aa82c37c
@ -27,7 +27,9 @@ endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static") set(CMAKE_C_FLAGS
|
||||
# "${CMAKE_CXX_FLAGS} -static")
|
||||
# "${CMAKE_CXX_FLAGS} -static") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
|
||||
# -fsanitize=address ") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address
|
||||
# ")
|
||||
|
||||
set(WHOLE_ARCHIVE_PREFIX "-Wl,-force_load")
|
||||
# set(NO_WHOLE_ARCHIVE_PREFIX "")
|
||||
|
@ -50,7 +50,8 @@
|
||||
// x1: to
|
||||
.text
|
||||
.global TILE_ASM_SYMBOL(tile_ucontext_swap)
|
||||
.balign 16
|
||||
// .balign 16
|
||||
.align 8
|
||||
TILE_ASM_SYMBOL(tile_ucontext_swap):
|
||||
|
||||
// Save context 'from'
|
||||
|
@ -44,7 +44,8 @@ std::unique_ptr<Fiber> Fiber::Create(std::function<void()> proc) noexcept {
|
||||
Fiber::Fiber(std::function<void()> proc)
|
||||
: ctx_(object_pool::Get<FiberContext>().Leak()), proc_(std::move(proc)) {
|
||||
|
||||
memset(&ctx_->uctx, 0, sizeof(tile_ucontext_t));
|
||||
// memset(&ctx_->uctx, 0, sizeof(tile_ucontext_t));
|
||||
// memset(&ctx_->stack, 0, kStackSize);
|
||||
if (proc_) {
|
||||
tile_ucontext_set_target(&ctx_->uctx, &ctx_->stack, kStackSize, RunProc,
|
||||
&proc_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user