ldstop.isa (5727:8b9aaeac5bab) | ldstop.isa (5788:6d4161a36ca1) |
---|---|
1// Copyright (c) 2008 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 348 unchanged lines hidden (view full) --- 357 self.data = data 358 [self.scale, self.index, self.base] = addr 359 self.disp = disp 360 self.segment = segment 361 self.dataSize = dataSize 362 self.addressSize = addressSize 363 364 def getAllocator(self, *microFlags): | 1// Copyright (c) 2008 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 348 unchanged lines hidden (view full) --- 357 self.data = data 358 [self.scale, self.index, self.base] = addr 359 self.disp = disp 360 self.segment = segment 361 self.dataSize = dataSize 362 self.addressSize = addressSize 363 364 def getAllocator(self, *microFlags): |
365 allocator = '''new %(class_name)s(machInst, mnemonic | 365 allocator = '''new %(class_name)s(machInst, macrocodeBlock |
366 %(flags)s, %(scale)s, %(index)s, %(base)s, 367 %(disp)s, %(segment)s, %(data)s, 368 %(dataSize)s, %(addressSize)s)''' % { 369 "class_name" : self.className, 370 "flags" : self.microFlagsText(microFlags), 371 "scale" : self.scale, "index" : self.index, 372 "base" : self.base, 373 "disp" : self.disp, --- 144 unchanged lines hidden --- | 366 %(flags)s, %(scale)s, %(index)s, %(base)s, 367 %(disp)s, %(segment)s, %(data)s, 368 %(dataSize)s, %(addressSize)s)''' % { 369 "class_name" : self.className, 370 "flags" : self.microFlagsText(microFlags), 371 "scale" : self.scale, "index" : self.index, 372 "base" : self.base, 373 "disp" : self.disp, --- 144 unchanged lines hidden --- |