decode.hh (2733:e0eac8fc5774) decode.hh (2843:19c4c6c2b5b1)
1/*
2 * Copyright (c) 2004-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;

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

104 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr);
105
106 /** Sets pointer to time buffer coming from fetch. */
107 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr);
108
109 /** Sets pointer to list of active threads. */
110 void setActiveThreads(std::list<unsigned> *at_ptr);
111
1/*
2 * Copyright (c) 2004-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;

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

104 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr);
105
106 /** Sets pointer to time buffer coming from fetch. */
107 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr);
108
109 /** Sets pointer to list of active threads. */
110 void setActiveThreads(std::list<unsigned> *at_ptr);
111
112 /** Drains the decode stage. */
113 void drain();
114
115 /** Resumes execution after a drain. */
116 void resume() { }
117
112 /** Switches out the decode stage. */
118 /** Switches out the decode stage. */
113 void switchOut();
119 void switchOut() { }
114
115 /** Takes over from another CPU's thread. */
116 void takeOverFrom();
117
118 /** Ticks decode, processing all input signals and decoding as many
119 * instructions as possible.
120 */
121 void tick();

--- 176 unchanged lines hidden ---
120
121 /** Takes over from another CPU's thread. */
122 void takeOverFrom();
123
124 /** Ticks decode, processing all input signals and decoding as many
125 * instructions as possible.
126 */
127 void tick();

--- 176 unchanged lines hidden ---