Deleted Added
sdiff udiff text old ( 10934:5af8f40d8f2c ) new ( 10935:acd48ddd725f )
full compact
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

422 uint64_t readIntReg(int reg_idx);
423
424 TheISA::FloatReg readFloatReg(int reg_idx);
425
426 TheISA::FloatRegBits readFloatRegBits(int reg_idx);
427
428 TheISA::CCReg readCCReg(int reg_idx);
429
430 void setIntReg(int reg_idx, uint64_t val);
431
432 void setFloatReg(int reg_idx, TheISA::FloatReg val);
433
434 void setFloatRegBits(int reg_idx, TheISA::FloatRegBits val);
435
436 void setCCReg(int reg_idx, TheISA::CCReg val);
437
438 uint64_t readArchIntReg(int reg_idx, ThreadID tid);
439
440 float readArchFloatReg(int reg_idx, ThreadID tid);
441
442 uint64_t readArchFloatRegInt(int reg_idx, ThreadID tid);
443
444 TheISA::CCReg readArchCCReg(int reg_idx, ThreadID tid);
445
446 /** Architectural register accessors. Looks up in the commit
447 * rename table to obtain the true physical index of the
448 * architected register first, then accesses that physical
449 * register.
450 */
451 void setArchIntReg(int reg_idx, uint64_t val, ThreadID tid);
452
453 void setArchFloatReg(int reg_idx, float val, ThreadID tid);
454
455 void setArchFloatRegInt(int reg_idx, uint64_t val, ThreadID tid);
456
457 void setArchCCReg(int reg_idx, TheISA::CCReg val, ThreadID tid);
458
459 /** Sets the commit PC state of a specific thread. */
460 void pcState(const TheISA::PCState &newPCState, ThreadID tid);
461
462 /** Reads the commit PC state of a specific thread. */
463 TheISA::PCState pcState(ThreadID tid);
464
465 /** Reads the commit PC of a specific thread. */
466 Addr instAddr(ThreadID tid);

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

729 Stats::Scalar intRegfileReads;
730 Stats::Scalar intRegfileWrites;
731 //number of float register file accesses
732 Stats::Scalar fpRegfileReads;
733 Stats::Scalar fpRegfileWrites;
734 //number of CC register file accesses
735 Stats::Scalar ccRegfileReads;
736 Stats::Scalar ccRegfileWrites;
737 //number of misc
738 Stats::Scalar miscRegfileReads;
739 Stats::Scalar miscRegfileWrites;
740};
741
742#endif // __CPU_O3_CPU_HH__