fpop.isa (5122:b0527f379eb5) | fpop.isa (5788:6d4161a36ca1) |
---|---|
1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 231 unchanged lines hidden (view full) --- 240 self.spm = spm 241 self.dataSize = dataSize 242 if SetStatus: 243 self.className += "Flags" 244 if spm: 245 self.className += "Top" 246 247 def getAllocator(self, *microFlags): | 1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 231 unchanged lines hidden (view full) --- 240 self.spm = spm 241 self.dataSize = dataSize 242 if SetStatus: 243 self.className += "Flags" 244 if spm: 245 self.className += "Top" 246 247 def getAllocator(self, *microFlags): |
248 return '''new %(class_name)s(machInst, mnemonic | 248 return '''new %(class_name)s(machInst, macrocodeBlock |
249 %(flags)s, %(src1)s, %(src2)s, %(dest)s, 250 %(dataSize)s, %(spm)d)''' % { 251 "class_name" : self.className, 252 "flags" : self.microFlagsText(microFlags), 253 "src1" : self.src1, "src2" : self.src2, 254 "dest" : self.dest, 255 "dataSize" : self.dataSize, 256 "spm" : self.spm} --- 85 unchanged lines hidden --- | 249 %(flags)s, %(src1)s, %(src2)s, %(dest)s, 250 %(dataSize)s, %(spm)d)''' % { 251 "class_name" : self.className, 252 "flags" : self.microFlagsText(microFlags), 253 "src1" : self.src1, "src2" : self.src2, 254 "dest" : self.dest, 255 "dataSize" : self.dataSize, 256 "spm" : self.spm} --- 85 unchanged lines hidden --- |