Fix register pool checkOutAligned padding
allocate padding as statusAvailable not statusInUse
@@ -231,6 +231,10 @@ class RegisterPool:
self.pool[i].status = self.statusInUse
self.pool[i].tag = tag
for i in range(0, overflow):
+ if len(self.pool) < start:
+ # this is padding to meet alignment requirements
+ self.pool.append(self.Register(self.statusAvailable,tag))
+ else:
self.pool.append(self.Register(self.statusInUse,tag))
self.checkOutSize[start] = size
if self.printRP:
