decode.hh (2935:d1223a6c9156) | decode.hh (4329:52057dbec096) |
---|---|
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; --- 72 unchanged lines hidden (view full) --- 81 /** Decode status. */ 82 DecodeStatus _status; 83 84 /** Per-thread status. */ 85 ThreadStatus decodeStatus[Impl::MaxThreads]; 86 87 public: 88 /** DefaultDecode constructor. */ | 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; --- 72 unchanged lines hidden (view full) --- 81 /** Decode status. */ 82 DecodeStatus _status; 83 84 /** Per-thread status. */ 85 ThreadStatus decodeStatus[Impl::MaxThreads]; 86 87 public: 88 /** DefaultDecode constructor. */ |
89 DefaultDecode(Params *params); | 89 DefaultDecode(O3CPU *_cpu, Params *params); |
90 91 /** Returns the name of decode. */ 92 std::string name() const; 93 94 /** Registers statistics. */ 95 void regStats(); 96 | 90 91 /** Returns the name of decode. */ 92 std::string name() const; 93 94 /** Registers statistics. */ 95 void regStats(); 96 |
97 /** Sets CPU pointer. */ 98 void setCPU(O3CPU *cpu_ptr); 99 | |
100 /** Sets the main backwards communication time buffer pointer. */ 101 void setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr); 102 103 /** Sets pointer to time buffer used to communicate to the next stage. */ 104 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr); 105 106 /** Sets pointer to time buffer coming from fetch. */ 107 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr); --- 209 unchanged lines hidden --- | 97 /** Sets the main backwards communication time buffer pointer. */ 98 void setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr); 99 100 /** Sets pointer to time buffer used to communicate to the next stage. */ 101 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr); 102 103 /** Sets pointer to time buffer coming from fetch. */ 104 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr); --- 209 unchanged lines hidden --- |