pseudo_inst.cc (2665:a124942bacb8) pseudo_inst.cc (2667:fe64b8353b1c)
1/*
2 * Copyright (c) 2003-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

129 void
130 ivle(ExecContext *xc)
131 {
132 }
133
134 void
135 m5exit_old(ExecContext *xc)
136 {
1/*
2 * Copyright (c) 2003-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

129 void
130 ivle(ExecContext *xc)
131 {
132 }
133
134 void
135 m5exit_old(ExecContext *xc)
136 {
137 SimExit(curTick, "m5_exit_old instruction encountered");
137 exitSimLoop(curTick, "m5_exit_old instruction encountered");
138 }
139
140 void
141 m5exit(ExecContext *xc, Tick delay)
142 {
143 Tick when = curTick + delay * Clock::Int::ns;
138 }
139
140 void
141 m5exit(ExecContext *xc, Tick delay)
142 {
143 Tick when = curTick + delay * Clock::Int::ns;
144 SimExit(when, "m5_exit instruction encountered");
144 exitSimLoop(when, "m5_exit instruction encountered");
145 }
146
147 void
148 resetstats(ExecContext *xc, Tick delay, Tick period)
149 {
150 if (!doStatisticsInsts)
151 return;
152

--- 134 unchanged lines hidden ---
145 }
146
147 void
148 resetstats(ExecContext *xc, Tick delay, Tick period)
149 {
150 if (!doStatisticsInsts)
151 return;
152

--- 134 unchanged lines hidden ---