diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-06-18 16:10:22 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-06-18 16:10:22 +0200 |
commit | 46a8cbbb7f55e92943cc26266edd98c774edadac (patch) | |
tree | b43adf8ac01539ffbae37748f298e638ee6fe1b8 /src/mem/mport.cc | |
parent | de89e133d8a3f92d9f2f99d0d8bcca50e9da6cb4 (diff) | |
download | gem5-46a8cbbb7f55e92943cc26266edd98c774edadac.tar.xz |
x86: Add helper functions to access rflags
The rflags register is spread across several different registers. Most
of the flags are stored in MISCREG_RFLAGS, but some are stored in
microcode registers. When accessing RFLAGS, we need to reconstruct it
from these registers. This changeset adds two functions,
X86ISA::getRFlags() and X86ISA::setRFlags(), that take care of this
magic.
Diffstat (limited to 'src/mem/mport.cc')
0 files changed, 0 insertions, 0 deletions