util.isa (5736:426510e758ad) | util.isa (5745:6b0f8306704b) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// Copyright (c) 2007 MIPS Technologies, Inc. 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 48 unchanged lines hidden (view full) --- 57 { 'ea_code':ea_code }, 58 inst_flags) 59 memacc_iop = InstObjParams(name, Name, base_class, 60 { 'memacc_code':memacc_code, 'postacc_code':postacc_code }, 61 inst_flags) 62 63 if mem_flags: 64 mem_flags = [ 'Request::%s' % flag for flag in mem_flags ] | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// Copyright (c) 2007 MIPS Technologies, Inc. 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 48 unchanged lines hidden (view full) --- 57 { 'ea_code':ea_code }, 58 inst_flags) 59 memacc_iop = InstObjParams(name, Name, base_class, 60 { 'memacc_code':memacc_code, 'postacc_code':postacc_code }, 61 inst_flags) 62 63 if mem_flags: 64 mem_flags = [ 'Request::%s' % flag for flag in mem_flags ] |
65 s = '\n\tmemAccessFlags.reset(' + string.join(mem_flags, '|') + ');' | 65 s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';' |
66 iop.constructor += s 67 memacc_iop.constructor += s 68 69 # select templates 70 71 # The InitiateAcc template is the same for StoreCond templates as the 72 # corresponding Store template.. 73 StoreCondInitiateAcc = StoreInitiateAcc --- 51 unchanged lines hidden --- | 66 iop.constructor += s 67 memacc_iop.constructor += s 68 69 # select templates 70 71 # The InitiateAcc template is the same for StoreCond templates as the 72 # corresponding Store template.. 73 StoreCondInitiateAcc = StoreInitiateAcc --- 51 unchanged lines hidden --- |