trap.isa (10474:799c8ee4ecba) trap.isa (12234:78ece221f9f5)
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

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

67 ccprintf(response, ", or ");
68 printReg(response, _srcRegIdx[1]);
69 return response.str();
70 }
71}};
72
73def template TrapExecute {{
74 Fault
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

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

67 ccprintf(response, ", or ");
68 printReg(response, _srcRegIdx[1]);
69 return response.str();
70 }
71}};
72
73def template TrapExecute {{
74 Fault
75 %(class_name)s::execute(CPU_EXEC_CONTEXT *xc,
75 %(class_name)s::execute(ExecContext *xc,
76 Trace::InstRecord *traceData) const
77 {
78 Fault fault = NoFault;
79 %(op_decl)s;
80 %(op_rd)s;
81 %(code)s
82 return fault;
83 }
84}};
85
86def template FpUnimplExecute {{
87 Fault
76 Trace::InstRecord *traceData) const
77 {
78 Fault fault = NoFault;
79 %(op_decl)s;
80 %(op_rd)s;
81 %(code)s
82 return fault;
83 }
84}};
85
86def template FpUnimplExecute {{
87 Fault
88 %(class_name)s::execute(CPU_EXEC_CONTEXT *xc,
88 %(class_name)s::execute(ExecContext *xc,
89 Trace::InstRecord *traceData) const
90 {
91 Fault fault = NoFault;
92 %(op_decl)s;
93 %(op_rd)s;
94 %(code)s
95 %(op_wb)s;
96 return fault;

--- 40 unchanged lines hidden ---
89 Trace::InstRecord *traceData) const
90 {
91 Fault fault = NoFault;
92 %(op_decl)s;
93 %(op_rd)s;
94 %(code)s
95 %(op_wb)s;
96 return fault;

--- 40 unchanged lines hidden ---