diff options
Diffstat (limited to 'src/arch/x86/insts')
-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 7f8e3a364..854d4de09 100644 --- a/src/arch/x86/insts/micromediaop.hh +++ b/src/arch/x86/insts/micromediaop.hh @@ -37,6 +37,7 @@ namespace X86ISA { enum MediaFlag { MediaMultHiOp = 1, + MediaSignedOp = 64, MediaScalarOp = 128 }; @@ -82,6 +83,12 @@ namespace X86ISA { return ext & MediaMultHiOp; } + + bool + signedOp() const + { + return ext & MediaSignedOp; + } }; class MediaOpReg : public MediaOpBase |