1 Star 0 Fork 151

hwzjyggsddu/glibc

forked from src-openEuler/glibc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
turn-REP_STOSB_THRESHOLD-from-2k-to-1M.patch 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangshuo 提交于 2020-07-03 19:35 . add filelist and backport many patch
From 44314a556239a7524b5a6451025737c1bdbb1cd0 Mon Sep 17 00:00:00 2001
From: Wang Shuo <[email protected]>
Date: Thu, 21 May 2020 11:23:06 +0800
Subject: [PATCH] turn REP_STOSB_THRESHOLD from 2k to 1M
---
sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
index dcd63c92..92c08eed 100644
--- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
+++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
@@ -65,7 +65,7 @@
Enhanced REP STOSB. Since the stored value is fixed, larger register
size has minimal impact on threshold. */
#ifndef REP_STOSB_THRESHOLD
-# define REP_STOSB_THRESHOLD 2048
+# define REP_STOSB_THRESHOLD 1048576
#endif
#ifndef SECTION
--
2.19.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hwzjyggsddu/glibc.git
[email protected]:hwzjyggsddu/glibc.git
hwzjyggsddu
glibc
glibc
openEuler-20.03-LTS

搜索帮助