Implement bctr and mtspr
[soc.git] / src / soc / decoder / isa / sprset.patch
1 --- sprset.py.orig 2020-05-06 11:36:45.228253359 -0400
2 +++ sprset.py 2020-05-06 11:20:17.627640518 -0400
3 @@ -18,7 +18,7 @@
4 SPR[n] = RS
5 else:
6 SPR[n] = RS[32:64]
7 - elif length(SPR(n)) == 64:
8 + elif len(SPR(n)) == 64:
9 SPR[n] = RS
10 else:
11 SPR[n] = RS[32:64]