Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TWiL 14 #56

Merged
merged 2 commits into from
Sep 4, 2023
Merged

TWiL 14 #56

merged 2 commits into from
Sep 4, 2023

Conversation

xen0n
Copy link
Member

@xen0n xen0n commented Sep 4, 2023

No description provided.

@xen0n xen0n merged commit 37280e1 into loongson-community:main Sep 4, 2023
1 check passed
@xen0n xen0n deleted the twil branch September 4, 2023 17:50

:::info 吐槽的具体点
一切从一个未被初始化即被使用的变量 `cj_val` 开始:
这意味着这部分代码的作者未作任何测试,甚至连测试编译都没进行,便提交了代码。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可能不是没测试编译,而是把 CONFIG_WERROR 关了。GCC 开发者们经常在有关 -Werror 的 "bug" 报告下面怒斥一些人“你默认开 -Werror 不是自己找抽吗”,LFS 也建议编译内核的时候把 CONFIG_WERROR 关掉。

不过我写东西肯定会目力看一下有没有多出来的警告……

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway 吃瓜比写代码好玩多了 (暴论)

9 月 1 日,Lulu Cheng 合并了 tā 和 guojie 6 月 29 日做的一处代码生成错误修复(GCC bug [PR110484](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110484),
在开启 <ruby>LTO<rt>链接时优化</rt></ruby> 编译 SPEC2017 541.leela\_r 用例时发现)。

:::info LTO 是跑分专享优化吗?有用吗?会反而造成性能劣化吗?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK 目前“主流” x86 发行版都在开或者开的路上。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants