basic.isa (10184:bbfa3152bdea) basic.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

--- 44 unchanged lines hidden (view full) ---

53 {
54 %(constructor)s;
55 }
56}};
57
58
59// Basic instruction class execute method template.
60def template BasicExecute {{
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

--- 44 unchanged lines hidden (view full) ---

53 {
54 %(constructor)s;
55 }
56}};
57
58
59// Basic instruction class execute method template.
60def template BasicExecute {{
61 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const
61 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc, Trace::InstRecord *traceData) const
62 {
63 Fault fault = NoFault;
64
65 %(op_decl)s;
66 %(op_rd)s;
67 %(code)s;
68
69 if (fault == NoFault)

--- 34 unchanged lines hidden ---
62 {
63 Fault fault = NoFault;
64
65 %(op_decl)s;
66 %(op_rd)s;
67 %(code)s;
68
69 if (fault == NoFault)

--- 34 unchanged lines hidden ---