util.isa (5268:5bfc53fe60e7) | util.isa (5736:426510e758ad) |
---|---|
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 --- 47 unchanged lines hidden (view full) --- 56 ea_iop = InstObjParams(name, Name, base_class, 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: | 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 --- 47 unchanged lines hidden (view full) --- 56 ea_iop = InstObjParams(name, Name, base_class, 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 s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';' | 64 mem_flags = [ 'Request::%s' % flag for flag in mem_flags ] 65 s = '\n\tmemAccessFlags.reset(' + string.join(mem_flags, '|') + ');' |
65 iop.constructor += s 66 memacc_iop.constructor += s 67 68 # select templates 69 70 # The InitiateAcc template is the same for StoreCond templates as the 71 # corresponding Store template.. 72 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 --- |