代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/atlas 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From bee4f683a16c282ecce10b62ee2b23388b68a1e3 Mon Sep 17 00:00:00 2001
From: Huang Yang <huangyang@loongson.cn>
Date: Tue, 15 Oct 2024 01:09:30 +0000
Subject: [PATCH] modify atlas build error on loongarch64
---
CONFIG/src/backend/archinfo_linux.c | 4 ++--
CONFIG/src/backend/probe_gas_loongarch64.S | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/CONFIG/src/backend/archinfo_linux.c b/CONFIG/src/backend/archinfo_linux.c
index c426fe3..4113b2c 100644
--- a/CONFIG/src/backend/archinfo_linux.c
+++ b/CONFIG/src/backend/archinfo_linux.c
@@ -340,8 +340,8 @@ enum MACHTYPE ProbeArch()
free(res);
}
break;
- case LOONGARCH64:
- res = atlsys_1L(NULL, "fgrep 'ISA' /proc/cpuinfo", 0, 0);
+ case AFLOONGARCH64:
+ res = atlsys_1L(NULL, "grep -F ISA /proc/cpuinfo", 0, 0);
if (res)
{
if (strstr(res, "loongarch")) mach = LOONGARCH64;
diff --git a/CONFIG/src/backend/probe_gas_loongarch64.S b/CONFIG/src/backend/probe_gas_loongarch64.S
index 6c55103..bd204e4 100644
--- a/CONFIG/src/backend/probe_gas_loongarch64.S
+++ b/CONFIG/src/backend/probe_gas_loongarch64.S
@@ -9,7 +9,7 @@
.globl ATL_asmdecor(asm_probe)
.type ATL_asmdecor(asm_probe), %function
ATL_asmdecor(asm_probe):
- slli.w a5,a0,0x1
- add.w a0,a0,a5
+ slli.w $t0,$a0,0x1
+ add.w $a0,$a0,$t0
ret
.size ATL_asmdecor(asm_probe),.-ATL_asmdecor(asm_probe)
--
2.41.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。