limmop.isa (5188:974af6059943) limmop.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

--- 140 unchanged lines hidden (view full) ---

149 self.mnemonic = "limm"
150 self.dest = dest
151 if isinstance(imm, (int, long)):
152 imm = "ULL(%d)" % imm
153 self.imm = imm
154 self.dataSize = dataSize
155
156 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

--- 140 unchanged lines hidden (view full) ---

149 self.mnemonic = "limm"
150 self.dest = dest
151 if isinstance(imm, (int, long)):
152 imm = "ULL(%d)" % imm
153 self.imm = imm
154 self.dataSize = dataSize
155
156 def getAllocator(self, *microFlags):
157 allocator = '''new %(class_name)s(machInst, mnemonic
157 allocator = '''new %(class_name)s(machInst, macrocodeBlock
158 %(flags)s, %(dest)s, %(imm)s, %(dataSize)s)''' % {
159 "class_name" : self.className,
160 "mnemonic" : self.mnemonic,
161 "flags" : self.microFlagsText(microFlags),
162 "dest" : self.dest, "imm" : self.imm,
163 "dataSize" : self.dataSize}
164 return allocator
165

--- 12 unchanged lines hidden ---
158 %(flags)s, %(dest)s, %(imm)s, %(dataSize)s)''' % {
159 "class_name" : self.className,
160 "mnemonic" : self.mnemonic,
161 "flags" : self.microFlagsText(microFlags),
162 "dest" : self.dest, "imm" : self.imm,
163 "dataSize" : self.dataSize}
164 return allocator
165

--- 12 unchanged lines hidden ---