学习GNU GCC编译器优化实现
我想了解 GNU GCC 编译器如何处理优化。我知道这并不容易,但我似乎无法找到任何 GCC 内部实现细节,即使只是为了开始。
我是否必须成为一名有贡献的 GNU GCC 开发人员才能查看源代码并了解低/高层设计?想要为 GCC 做出贡献的开发人员可以在哪里找到实现细节?
I would like to understand how the GNU GCC compiler handles optimizations. I know its not easy but I can't seem to find any GCC internal implementation details even just to get started.
Do I have to be a contributing GNU GCC developer to view the source code and know the low/high level design? Where can a developer, who wants to contribute to GCC, find the implementation details?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以从任何地方下载
gcc
。最好的起点可能是官方页面: http://gcc.gnu.org/releases.html阅读有关优化的好地方是手册页,它描述了许多控制单独优化的标志。
You can download
gcc
from all over the place. The best place to start might be the official page: http://gcc.gnu.org/releases.htmlA good place to read about the optimizations is in the man page, which describes a lot of flags that control individual optimizations.
GCC 是开源的,其源代码可以免费获得。您甚至可以在线浏览。其内部结构已记录。
GCC is open source and its source code is freely available. You can even browse it online. And its internals are documented.