annotate python/cortexm3desc.py @ 261:444b9df2ed99

try to split up code generation
author Windel Bouwman
date Fri, 09 Aug 2013 09:05:13 +0200
parents
children
rev   line source
261
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
1
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
2 # Patterns
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
4 import cortexm3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
5 import ir
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
6
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
7
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
8 {
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
9 """
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
10 v3 = const1
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
11 v1 = v2 + v3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
12 [v1] = v3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
13 """: cortexm3.
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
14 }
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
15
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
16
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
17