diff options
author | Gabe Black <gabeblack@google.com> | 2018-11-21 16:20:57 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-02-01 01:22:19 +0000 |
commit | a119a963240a35ab66a5baee3f77cfcd99c6bbbb (patch) | |
tree | c883d37ed479e92c23d881a48b8f2abec469faf7 /src/cpu/exec_context.hh | |
parent | fbdf0b689eb31543292f52c71d14152d8ff1156a (diff) | |
download | gem5-a119a963240a35ab66a5baee3f77cfcd99c6bbbb.tar.xz |
cpu, arch: Replace the CCReg type with RegVal.
Most architectures weren't using the CCReg type, and in x86 and arm
it was already a uint64_t.
Change-Id: I0b3d5e690e6b31db6f2627f449c89bde0f6750a6
Reviewed-on: https://gem5-review.googlesource.com/c/14515
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/cpu/exec_context.hh')
-rw-r--r-- | src/cpu/exec_context.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/exec_context.hh b/src/cpu/exec_context.hh index 87af91623..1c1c8956a 100644 --- a/src/cpu/exec_context.hh +++ b/src/cpu/exec_context.hh @@ -74,7 +74,6 @@ class ExecContext { public: typedef TheISA::PCState PCState; - typedef TheISA::CCReg CCReg; using VecRegContainer = TheISA::VecRegContainer; using VecElem = TheISA::VecElem; using VecPredRegContainer = TheISA::VecPredRegContainer; @@ -189,8 +188,9 @@ class ExecContext { * @{ * @name Condition Code Registers */ - virtual CCReg readCCRegOperand(const StaticInst *si, int idx) = 0; - virtual void setCCRegOperand(const StaticInst *si, int idx, CCReg val) = 0; + virtual RegVal readCCRegOperand(const StaticInst *si, int idx) = 0; + virtual void setCCRegOperand( + const StaticInst *si, int idx, RegVal val) = 0; /** @} */ /** |