annotate python/cortexm3desc.py @ 271:cf7d5fb7d9c8

Reorganization
author Windel Bouwman
date Tue, 20 Aug 2013 18:56:02 +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