浏览代码

scons: Use -fno-builtin-memcmp.

ipers framerate on llmvpipe improves 60%.

Issue spotted by Adam Jackson <ajax at redhat.com>.

http://lists.freedesktop.org/archives/mesa-dev/2011-June/009077.html
tags/mesa-8.0-rc1
José Fonseca 14 年前
父节点
当前提交
983fa4ad52
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      scons/gallium.py

+ 3
- 0
scons/gallium.py 查看文件

@@ -361,6 +361,9 @@ def generate(env):
ccflags += ['-O0']
else:
ccflags += ['-O3']
# gcc's builtin memcmp is slower than glibc's
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052
ccflags += ['-fno-builtin-memcmp']
# Work around aliasing bugs - developers should comment this out
ccflags += ['-fno-strict-aliasing']
ccflags += ['-g']

正在加载...
取消
保存