Optimization

共4篇文章。

clang优化器的一个问题

Development

📜 历史文件已不具备现实意义

今天的一个偶然的发现。FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525。clang 3.8 2015/07/20的版本同样有此问题。

之前,FreeBSD上strndup(3)的实现是这样的:

而OpenBSD上的实现,则是这样的:

阅读全文…:clang优化器的一个问题(本文约360字,阅读大致需要1分钟)

Profile-based compile optimization

Development

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.

参与评论:Profile-based compile optimization
搜索文章…(按ESC退出)