misc.isa (6691:cd68b6ecd68d) | misc.isa (10196:be0e1724eb39) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2009 The University of Edinburgh 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29// Authors: Timothy M. Jones 30 31//////////////////////////////////////////////////////////////////// 32// 33// Misc instructions 34// 35 36def template MiscOpExecute {{ | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2009 The University of Edinburgh 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29// Authors: Timothy M. Jones 30 31//////////////////////////////////////////////////////////////////// 32// 33// Misc instructions 34// 35 36def template MiscOpExecute {{ |
37 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const | 37 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc, Trace::InstRecord *traceData) const |
38 { 39 Fault fault = NoFault; 40 %(op_decl)s; 41 %(op_rd)s; 42 43 %(code)s; 44 if (fault == NoFault) 45 { --- 16 unchanged lines hidden --- | 38 { 39 Fault fault = NoFault; 40 %(op_decl)s; 41 %(op_rd)s; 42 43 %(code)s; 44 if (fault == NoFault) 45 { --- 16 unchanged lines hidden --- |