annotate python/cortexm3desc.py @ 266:649884d9dc61 Working chain 1

Test
author Windel Bouwman
date Fri, 09 Aug 2013 16:49:29 +0200
parents 444b9df2ed99
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