branch.isa (3792:dae368e56d0e) | branch.isa (3985:28c305c0c56f) |
---|---|
1// Copyright (c) 2006 The Regents of The University of Michigan | 1// Copyright (c) 2006-2007 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 9// notice, this list of conditions and the following disclaimer in the --- 163 unchanged lines hidden (view full) --- 173 if(symtab && symtab->findNearestSymbol(target, symbol, symbolAddr)) 174 { 175 ccprintf(response, " <%s", symbol); 176 if(symbolAddr != target) 177 ccprintf(response, "+%d>", target - symbolAddr); 178 else 179 ccprintf(response, ">"); 180 } | 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 9// notice, this list of conditions and the following disclaimer in the --- 163 unchanged lines hidden (view full) --- 173 if(symtab && symtab->findNearestSymbol(target, symbol, symbolAddr)) 174 { 175 ccprintf(response, " <%s", symbol); 176 if(symbolAddr != target) 177 ccprintf(response, "+%d>", target - symbolAddr); 178 else 179 ccprintf(response, ">"); 180 } |
181 else 182 { 183 ccprintf(response, "<%d>", target); 184 } | |
185 186 return response.str(); 187 } 188}}; 189 190def template BranchExecute {{ 191 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, 192 Trace::InstRecord *traceData) const --- 82 unchanged lines hidden --- | 181 182 return response.str(); 183 } 184}}; 185 186def template BranchExecute {{ 187 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, 188 Trace::InstRecord *traceData) const --- 82 unchanged lines hidden --- |