Thursday, September 29, 2011
在我常上的 Hacker News 论坛上,有人这样评价 Linus Torvalds 的贡献: I personally know a dozen people who could have written the Linux kernel, at around the time Linus wrote it. What none of them could have done, through, is manage the project when it took off the way Linus did. I suspect 100 years from now, the place [...]
Wednesday, September 28, 2011
下载地址在 http://love-oriented.com/pack/pack2rc.pdf
Also filed in
|
|
Monday, September 26, 2011
(本文是 http://llvm.org/releases/2.9/docs/LangRef.html 的阅读笔记,前作为《LLVM笔记(2):LLVM的语言(中)》。) Instruction Reference terminator instruction indicates which block should be executed after the current block is finished yields ‘void’ value, ret (return) ret <type> <value> ret void branch br i1 <cond>, label <iftrue>, label <iffalse> br label <dest> ; Unconditional branch switch <intty> <value>, label <defaultdest> [ <intty> <val>, label <dest> ... ] indirectbr <somety>* [...]
Sunday, September 25, 2011
(本文是 http://llvm.org/releases/2.9/docs/LangRef.html 的阅读笔记,前作为《LLVM笔记(1):LLVM的语言(上)》。) Type System Type Classifications integer: i1, i2, i3, … i8, … i16, … i32, … i64 floating point: float, double, x86_fp80, fp128, ppc_fp128 first class: integer, floating point, pointer, vector, structure, array, label, metadata. primitive: label, void, integer, floating point, x86mmx, metadata. derived: array, function, pointer, structure, packed structure, vector, opaque. Array type [<# elements> x <elementtype>] Function [...]
Wednesday, September 21, 2011
(本文是 http://llvm.org/releases/2.9/docs/LangRef.html 的阅读笔记,前作为《LLVM笔记(0):在一切开始之前》。) 一句话总结: LLVM is a Static Single Assignment (SSA) based representation that provides type safety, low-level operations, flexibility, and the capability of representing ‘all’ high-level languages cleanly. It is the common code representation used throughout all phases of the LLVM compilation strategy. LLVM语言有三种形式:in-memory compiler IR, on-disk bitcode representation, human readable assembly language representation。三种表现形式是等价的。 LLVM语言的目标是:一方面 light-weight and [...]
Also filed in
|
Tagged 编译, LLVM
|