diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-01-06 22:46:28 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-01-06 22:46:28 -0800 |
commit | 8cab1805f9854d74b4a73c5c3b316aa7ad2d2177 (patch) | |
tree | 798104ee42fc5a92d5a740b779a03fd99e908dd8 /src/arch/x86/insts/static_inst.hh | |
parent | 9e24d8c599a3090f3ce59a608ff887ac434aa1ca (diff) | |
download | gem5-8cab1805f9854d74b4a73c5c3b316aa7ad2d2177.tar.xz |
X86: Move the function that prints memory args into the inst base class.
Diffstat (limited to 'src/arch/x86/insts/static_inst.hh')
-rw-r--r-- | src/arch/x86/insts/static_inst.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/insts/static_inst.hh b/src/arch/x86/insts/static_inst.hh index e5c333e75..8480f2713 100644 --- a/src/arch/x86/insts/static_inst.hh +++ b/src/arch/x86/insts/static_inst.hh @@ -89,6 +89,9 @@ namespace X86ISA void printReg(std::ostream &os, int reg, int size) const; void printSrcReg(std::ostream &os, int reg, int size) const; void printDestReg(std::ostream &os, int reg, int size) const; + void printMem(std::ostream &os, uint8_t segment, + uint8_t scale, RegIndex index, RegIndex base, + uint64_t disp, uint8_t addressSize, bool rip) const; inline uint64_t merge(uint64_t into, uint64_t val, int size) const { |