diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-12-19 01:48:07 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-12-19 01:48:07 -0800 |
commit | 25545115336e961a570bafdb8c2934db0015dece (patch) | |
tree | bb36546361917ce05079a539ba8d4d1397b6ed89 /src/arch/x86/insts/micromediaop.hh | |
parent | e474079ddc1941246e000dc699f9acb5c6a8a5e0 (diff) | |
download | gem5-25545115336e961a570bafdb8c2934db0015dece.tar.xz |
X86: Create a common flag with a name to indicate high multiplies.
Diffstat (limited to 'src/arch/x86/insts/micromediaop.hh')
-rw-r--r-- | src/arch/x86/insts/micromediaop.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/x86/insts/micromediaop.hh b/src/arch/x86/insts/micromediaop.hh index f2871f67e..7f8e3a364 100644 --- a/src/arch/x86/insts/micromediaop.hh +++ b/src/arch/x86/insts/micromediaop.hh @@ -36,6 +36,7 @@ namespace X86ISA { enum MediaFlag { + MediaMultHiOp = 1, MediaScalarOp = 128 }; @@ -75,6 +76,12 @@ namespace X86ISA { return scalarOp() ? 1 : (sizeof(FloatRegBits) / size); } + + bool + multHi() const + { + return ext & MediaMultHiOp; + } }; class MediaOpReg : public MediaOpBase |