clang优化器的一个问题
📜 历史文件已不具备现实意义
今天的一个偶然的发现。FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525。clang 3.8 2015/07/20 的版本同样有此问题。
之前, FreeBSD 上 strndup(3) 的实现是这样的:
| |
而 OpenBSD 上的实现,则是这样的:
| |
共 4 篇文章。
📜 历史文件已不具备现实意义
今天的一个偶然的发现。FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525。clang 3.8 2015/07/20 的版本同样有此问题。
之前, FreeBSD 上 strndup(3) 的实现是这样的:
| |
而 OpenBSD 上的实现,则是这样的:
| |
It’s our pleasure to see GCC 3.4 import to be listed in FreeBSD 5.3-R todo list. Unfortunatelly, gmake is now a required prerequisite when building GCC 3.4, this may slow down the import progress.
Well I finally can get this into my blog because Microsoft has publicly announced it :-) The information got from my friend has finally confirmed, and this is really exciting!!
junsu has pointed out that gcc has the ablity to do profile, record the data and optimize the generated code according to the data. The nearest compiler guru I can visit is Prof. Husheng LIAO (sorry, the link here is not available to the Internet at the time writing, but this is hopefully to be changed soon) who recently concentrate his research in optimization for the Java Language Compiling process.
Further information will be available here soon.