comparison doc/compiler.rst @ 366:39bf68bf1891

Fix sample tests and deterministic build
author Windel Bouwman
date Fri, 21 Mar 2014 09:43:01 +0100
parents 818be710e13d
children
comparison
equal deleted inserted replaced
365:98ff43cfdd36 366:39bf68bf1891
107 107
108 // .. autoclass:: ppci.irmach.Frame 108 // .. autoclass:: ppci.irmach.Frame
109 109
110 // .. autoclass:: ppci.irmach.AbstractInstruction 110 // .. autoclass:: ppci.irmach.AbstractInstruction
111 111
112 To select instruction, a tree rewrite system is used. This is also called
113 bottom up rewrite generator (BURG). See pyburg.
114
112 115
113 Register allocation 116 Register allocation
114 ~~~~~~~~~~~~~~~~~~~ 117 ~~~~~~~~~~~~~~~~~~~
115 118
116 The selected instructions are used to select correct registers. 119 The selected instructions are used to select correct registers.
117 120
118 121
122 code emission
123 ~~~~~~~~~~~~~
124
125 Code is emitted using the outputstream class. The assembler and compiler use
126 this class to emit instructions to. The stream can output to object file
127 or to a logger.
128
129 .. autoclass:: ppci.outstream.OutputStream
130