simple_thread.hh (7400:f6c9b27c4dbe) | simple_thread.hh (7597:063f160e8b50) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 114 unchanged lines hidden (view full) --- 123 /** The next pc. 124 */ 125 Addr nextPC; 126 127 /** The next next pc. 128 */ 129 Addr nextNPC; 130 | 1/* 2 * Copyright (c) 2001-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; --- 114 unchanged lines hidden (view full) --- 123 /** The next pc. 124 */ 125 Addr nextPC; 126 127 /** The next next pc. 128 */ 129 Addr nextNPC; 130 |
131 /** Did this instruction execute or is it predicated false */ 132 bool predicate; 133 |
|
131 public: 132 // pointer to CPU associated with this SimpleThread 133 BaseCPU *cpu; 134 135 ProxyThreadContext<SimpleThread> *tc; 136 137 System *system; 138 --- 227 unchanged lines hidden (view full) --- 366 367 void setNextNPC(uint64_t val) 368 { 369#if ISA_HAS_DELAY_SLOT 370 nextNPC = val; 371#endif 372 } 373 | 134 public: 135 // pointer to CPU associated with this SimpleThread 136 BaseCPU *cpu; 137 138 ProxyThreadContext<SimpleThread> *tc; 139 140 System *system; 141 --- 227 unchanged lines hidden (view full) --- 369 370 void setNextNPC(uint64_t val) 371 { 372#if ISA_HAS_DELAY_SLOT 373 nextNPC = val; 374#endif 375 } 376 |
377 bool readPredicate() 378 { 379 return predicate; 380 } 381 382 void setPredicate(bool val) 383 { 384 predicate = val; 385 } 386 |
|
374 MiscReg 375 readMiscRegNoEffect(int misc_reg, ThreadID tid = 0) 376 { 377 return isa.readMiscRegNoEffect(misc_reg); 378 } 379 380 MiscReg 381 readMiscReg(int misc_reg, ThreadID tid = 0) --- 50 unchanged lines hidden --- | 387 MiscReg 388 readMiscRegNoEffect(int misc_reg, ThreadID tid = 0) 389 { 390 return isa.readMiscRegNoEffect(misc_reg); 391 } 392 393 MiscReg 394 readMiscReg(int misc_reg, ThreadID tid = 0) --- 50 unchanged lines hidden --- |