<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：Linux内核源码阅读系列(1)-可能令人迷惑的C语言语法</title>
	<atom:link href="http://www.adamjiang.com/blog/archives/251/feed" rel="self" type="application/rss+xml" />
	<link>http://www.adamjiang.com/blog/archives/251</link>
	<description>蒋超的个人博客</description>
	<lastBuildDate>Mon, 24 May 2010 05:47:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>来自：tek-life</title>
		<link>http://www.adamjiang.com/blog/archives/251/comment-page-1#comment-337</link>
		<dc:creator>tek-life</dc:creator>
		<pubDate>Mon, 05 Apr 2010 08:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamjiang.com/blog/?p=251#comment-337</guid>
		<description>&quot;likely和unlikely仅仅是在帮助编译器产生更优代码，而对真值的判断没有影响&quot;
Right!</description>
		<content:encoded><![CDATA[<p>&#8220;likely和unlikely仅仅是在帮助编译器产生更优代码，而对真值的判断没有影响&#8221;<br />
Right!</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：jcadam</title>
		<link>http://www.adamjiang.com/blog/archives/251/comment-page-1#comment-56</link>
		<dc:creator>jcadam</dc:creator>
		<pubDate>Tue, 13 Jan 2009 06:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamjiang.com/blog/?p=251#comment-56</guid>
		<description>Thanks, Border.
内核代码中对判断条件两次取非，这将保证这个x的值能够顺利的和1或者0比较。</description>
		<content:encoded><![CDATA[<p>Thanks, Border.<br />
内核代码中对判断条件两次取非，这将保证这个x的值能够顺利的和1或者0比较。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Border</title>
		<link>http://www.adamjiang.com/blog/archives/251/comment-page-1#comment-55</link>
		<dc:creator>Border</dc:creator>
		<pubDate>Mon, 12 Jan 2009 08:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamjiang.com/blog/?p=251#comment-55</guid>
		<description>在内核中是这样定义的 include/linux/compiler.h ：
#define likely(x)       __builtin_expect(!!(x), 1)
#define unlikely(x)     __builtin_expect(!!(x), 0)

参考: http://kernelnewbies.org/FAQ/LikelyUnlikely</description>
		<content:encoded><![CDATA[<p>在内核中是这样定义的 include/linux/compiler.h ：<br />
#define likely(x)       __builtin_expect(!!(x), 1)<br />
#define unlikely(x)     __builtin_expect(!!(x), 0)</p>
<p>参考: <a href="http://kernelnewbies.org/FAQ/LikelyUnlikely" rel="nofollow">http://kernelnewbies.org/FAQ/LikelyUnlikely</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.986 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-20 11:45:36 -->
