regop.isa (5682:6f1cab082ba7) | regop.isa (5788:6d4161a36ca1) |
---|---|
1// Copyright (c) 2007-2008 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 --- 424 unchanged lines hidden (view full) --- 433 raise Exception, "flags must be a list or tuple of flags" 434 self.ext = " | ".join(flags) 435 self.className += "Flags" 436 437 def getAllocator(self, *microFlags): 438 className = self.className 439 if self.mnemonic == self.base_mnemonic + 'i': 440 className += "Imm" | 1// Copyright (c) 2007-2008 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 --- 424 unchanged lines hidden (view full) --- 433 raise Exception, "flags must be a list or tuple of flags" 434 self.ext = " | ".join(flags) 435 self.className += "Flags" 436 437 def getAllocator(self, *microFlags): 438 className = self.className 439 if self.mnemonic == self.base_mnemonic + 'i': 440 className += "Imm" |
441 allocator = '''new %(class_name)s(machInst, mnemonic | 441 allocator = '''new %(class_name)s(machInst, macrocodeBlock |
442 %(flags)s, %(src1)s, %(op2)s, %(dest)s, 443 %(dataSize)s, %(ext)s)''' % { 444 "class_name" : className, 445 "flags" : self.microFlagsText(microFlags), 446 "src1" : self.src1, "op2" : self.op2, 447 "dest" : self.dest, 448 "dataSize" : self.dataSize, 449 "ext" : self.ext} --- 753 unchanged lines hidden --- | 442 %(flags)s, %(src1)s, %(op2)s, %(dest)s, 443 %(dataSize)s, %(ext)s)''' % { 444 "class_name" : className, 445 "flags" : self.microFlagsText(microFlags), 446 "src1" : self.src1, "op2" : self.op2, 447 "dest" : self.dest, 448 "dataSize" : self.dataSize, 449 "ext" : self.ext} --- 753 unchanged lines hidden --- |