annotate python/codegenarm.py @ 258:04c19282a5aa

Added register allocator
author Windel Bouwman
date Mon, 05 Aug 2013 19:46:11 +0200
parents 225f444019b1
children ac603eb66b63
rev   line source
255
7416c923a02a Added more logging
Windel Bouwman
parents: 250
diff changeset
1 import logging
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
2 import ir
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
3 from target import Label, Comment, Alignment, LabelRef, Imm32, DebugInfo
218
494828a7adf1 added some sort of cache to assembler
Windel Bouwman
parents: 212
diff changeset
4 import cortexm3 as arm
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
5 from ppci import CompilerError
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
6
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
7 class ArmCodeGenerator:
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
8 """
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
9 Simple code generator
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
10 Ad hoc implementation
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
11 """
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
12 def __init__(self, out):
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
13 self.outs = out
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
14 self.logger = logging.getLogger('codegenarm')
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
15
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
16 def emit(self, item):
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
17 self.outs.emit(item)
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
18
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
19 def generate(self, ircode):
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
20 assert isinstance(ircode, ir.Module)
255
7416c923a02a Added more logging
Windel Bouwman
parents: 250
diff changeset
21 self.logger.info('Generating arm code for {}'.format(ircode.name))
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
22 self.available_regs = {arm.r2, arm.r3, arm.r4, arm.r5, arm.r6, arm.r7}
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
23 self.regmap = {}
250
f5fba5b554d7 Removal of obsolete editor
Windel Bouwman
parents: 249
diff changeset
24 # TODO: get these from linker descriptor?
f5fba5b554d7 Removal of obsolete editor
Windel Bouwman
parents: 249
diff changeset
25 self.outs.getSection('code').address = 0x08000000
f5fba5b554d7 Removal of obsolete editor
Windel Bouwman
parents: 249
diff changeset
26 self.outs.getSection('data').address = 0x20000000
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
27 self.outs.selectSection('data')
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
28
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
29 for gvar in ircode.Variables:
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
30 self.emit(Label(gvar.name))
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
31 # TODO: use initial value:
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
32 self.dcd(0)
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
33
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
34 self.imms = [] # list with immediates relative to PC.
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
35 self.outs.selectSection('code')
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
36
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
37 # Manually inserted startup code:
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
38 self.dcd(0x20000678) # initial stack ptr
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
39 # TODO: use label here:
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
40 #self.emit(arm.dcd_ins(LabelRef('reset'))) # reset vector
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
41 self.dcd(0x08000009) # reset vector, lsb indicates thumb mode
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
42
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
43 self.emit(Label('reset'))
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
44 for f in ircode.Functions:
240
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
45 self.localVars = []
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
46 # Add global variable addresses to immediate list:
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
47 for gvar in ircode.Variables:
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
48 pass #self.imms.append((
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
49
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
50 self.stack_frame = []
234
Windel Bouwman
parents: 232
diff changeset
51 self.emit(Label(f.name))
218
494828a7adf1 added some sort of cache to assembler
Windel Bouwman
parents: 212
diff changeset
52 # Save some registers:
494828a7adf1 added some sort of cache to assembler
Windel Bouwman
parents: 212
diff changeset
53 self.emit(arm.push_ins(arm.RegisterSet({arm.r4, arm.r5, arm.r6,arm.r7,arm.lr})))
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
54 for bb in f.BasicBlocks:
234
Windel Bouwman
parents: 232
diff changeset
55 self.emit(Label(bb.name))
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
56 for ins in bb.Instructions:
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
57 self.generateInstruction(ins)
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
58
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
59 self.align()
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
60 while self.imms:
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
61 l, v = self.imms.pop()
234
Windel Bouwman
parents: 232
diff changeset
62 self.emit(Label(l))
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
63 self.dcd(v)
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
64 self.align()
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
65 self.outs.backpatch()
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
66 self.outs.backpatch()
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
67 codesize = self.outs.getSection('code').Size
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
68 self.logger.info('Generated {} bytes code'.format(codesize))
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
69
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
70 def dcd(self, x):
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
71 self.emit(arm.dcd_ins(Imm32(x)))
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
72
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
73 def align(self):
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
74 self.outs.emit(Alignment(4))
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
75
225
1c7364bd74c7 Fixed pointer deref
Windel Bouwman
parents: 222
diff changeset
76 # Helper functions:
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
77 def getStack(self, v):
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
78 off = self.stack_frame.index(v)
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
79 return off * 4
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
80
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
81 def addStack(self, v):
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
82 self.stack_frame.append(v)
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
83 return self.getStack(v)
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
84
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
85 def getGlobal(self, r, g):
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
86 _global_address = g.name + '__global'
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
87 self.emit(arm.ldr_pcrel(r, LabelRef(_global_address)))
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
88
225
1c7364bd74c7 Fixed pointer deref
Windel Bouwman
parents: 222
diff changeset
89 def loadStack(self, reg, val):
1c7364bd74c7 Fixed pointer deref
Windel Bouwman
parents: 222
diff changeset
90 self.emit(arm.ldr_sprel(reg, arm.MemSpRel(self.getStack(val))))
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
91
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
92 def getreg(self, v):
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
93 if not v in self.regmap:
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
94 self.regmap[v] = self.available_regs.pop()
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
95 return self.regmap[v]
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
96
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
97 def freereg(self, v, ins):
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
98 if v.lastUse(ins):
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
99 r = self.regmap.pop(v)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
100 assert r not in self.regmap.values()
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
101 self.available_regs.add(r)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
102
225
1c7364bd74c7 Fixed pointer deref
Windel Bouwman
parents: 222
diff changeset
103 def comment(self, txt):
234
Windel Bouwman
parents: 232
diff changeset
104 self.emit(Comment(txt))
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
105
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
106 def debugInfo(self, loc):
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
107 if loc:
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
108 self.emit(DebugInfo(loc))
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
109
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
110 def generateInstruction(self, ins):
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
111 self.comment(str(ins))
249
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
112 if hasattr(ins, 'debugLoc'):
e41e4109addd Added current position arrow
Windel Bouwman
parents: 243
diff changeset
113 self.debugInfo(ins.debugLoc)
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
114 if type(ins) is ir.Branch:
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
115 tgt = LabelRef(ins.target.name)
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
116 self.emit(arm.b_ins(tgt))
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
117 elif type(ins) is ir.ImmLoad:
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
118 lname = ins.target.name + '_ivalue'
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
119 r0 = self.getreg(ins.target)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
120 self.emit(arm.ldr_pcrel(r0, LabelRef(lname)))
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
121 self.imms.append((lname, ins.value))
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
122 elif type(ins) is ir.Store:
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
123 # Load value in r0:
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
124 r0 = self.getreg(ins.value)
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
125 # store in memory:
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
126 # TODO: split globals and locals??
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
127 #self.getGlobal(arm.r1, ins.location)
240
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
128 # Horrible hack with localVars
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
129 if ins.location in self.localVars:
243
ef683881c64e Remove various files
Windel Bouwman
parents: 240
diff changeset
130 # The value was alloc'ed
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
131 self.emit(arm.str_sprel(r0, arm.MemSpRel(self.getStack(ins.location))))
240
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
132 else:
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
133 r1 = self.getreg(ins.location)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
134 self.emit(arm.storeimm5_ins(r0, arm.MemR8Rel(r1, 0)))
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
135 self.freereg(ins.location, ins)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
136 self.freereg(ins.value, ins)
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
137 elif type(ins) is ir.Load:
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
138 # TODO: differ global and local??
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
139 #self.getGlobal(arm.r0, ins.location)
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
140 r0 = self.getreg(ins.value)
240
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
141 if ins.location in self.localVars:
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
142 self.emit(arm.ldr_sprel(r0, arm.MemSpRel(self.getStack(ins.location))))
240
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
143 else:
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
144 r2 = self.getreg(ins.location)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
145 self.emit(arm.loadimm5_ins(r0, arm.MemR8Rel(r2, 0)))
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
146 self.freereg(ins.location, ins)
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
147 elif type(ins) is ir.BinaryOperator:
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
148 # Load operands:
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
149 r0 = self.getreg(ins.value1)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
150 r1 = self.getreg(ins.value2)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
151 r2 = self.getreg(ins.result)
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
152 # do operation:
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
153 if ins.operation == '+':
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
154 self.emit(arm.addregs_ins(r2, r0, r1))
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
155 elif ins.operation == '<<':
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
156 self.emit(arm.movregreg_ins(r2, r0))
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
157 self.emit(arm.lslregs_ins(r2, r1))
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
158 elif ins.operation == '|':
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
159 self.emit(arm.movregreg_ins(r2, r0))
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
160 self.emit(arm.orrregs_ins(r2, r1))
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
161 else:
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
162 raise NotImplementedError('operation {} not implemented'.format(ins.operation))
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
163 self.freereg(ins.value1, ins)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
164 self.freereg(ins.value2, ins)
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
165 elif type(ins) is ir.Return:
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
166 self.emit(arm.pop_ins(arm.RegisterSet({arm.r4, arm.r5, arm.r6, arm.r7, arm.pc})))
212
62386bcee1ba Added parser combinator lib
Windel Bouwman
parents: 211
diff changeset
167 elif type(ins) is ir.ConditionalBranch:
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
168 r0 = self.getreg(ins.a)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
169 r1 = self.getreg(ins.b)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
170 self.emit(arm.cmp_ins(r1, r0))
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
171 tgt_yes = Label(ins.lab1.name)
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
172 if ins.cond == '==':
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
173 self.emit(arm.beq_ins(tgt_yes))
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
174 else:
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
175 raise NotImplementedError('"{}" not covered'.format(ins.cond))
235
ff40407c0240 Fix ALabel to Label
Windel Bouwman
parents: 234
diff changeset
176 tgt_no = Label(ins.lab2.name)
219
1fa3e0050b49 Expanded ad hoc code generator
Windel Bouwman
parents: 218
diff changeset
177 self.emit(arm.jmp_ins(tgt_no))
258
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
178 self.freereg(ins.a, ins)
04c19282a5aa Added register allocator
Windel Bouwman
parents: 256
diff changeset
179 self.freereg(ins.b, ins)
222
c3f1ce8b638f Fixup of parser
Windel Bouwman
parents: 219
diff changeset
180 elif type(ins) is ir.Alloc:
232
e621e3ba78d2 Added left shift instruction
Windel Bouwman
parents: 225
diff changeset
181 # Local variables are added to stack
222
c3f1ce8b638f Fixup of parser
Windel Bouwman
parents: 219
diff changeset
182 self.addStack(ins.value)
240
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
183 self.localVars.append(ins.value)
6259856841a0 Remove project
Windel Bouwman
parents: 237
diff changeset
184 # load address into variable:
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
185 else:
237
81752b0f85a5 Added burn led test program
Windel Bouwman
parents: 236
diff changeset
186 raise NotImplementedError('IR "{}" not covered'.format(ins))
211
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
187
99164160fb0b Added another missing file
Windel Bouwman
parents:
diff changeset
188