aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2017-08-09 14:02:15 +0900
committerMITSUNARI Shigeo <[email protected]>2017-08-09 14:02:15 +0900
commit87a426d04810d33c2fc117458b72c264495e6577 (patch)
tree19e36e5de2ce8b39203df2276c04deeb33732f05
parent5c914d32c07fe4b5fcd5cfcb4ee46566244e8b16 (diff)
downloadxbyak-87a426d04810d33c2fc117458b72c264495e6577.tar.gz
xbyak-87a426d04810d33c2fc117458b72c264495e6577.zip
hasZero() has meanig if getOpmaskIdx() > 0
-rw-r--r--xbyak/xbyak.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index d993620..a315099 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -407,7 +407,7 @@ public:
bool isExt8bit() const { return (idx_ & EXT8BIT) != 0; }
bool isExtIdx() const { return (getIdx() & 8) != 0; }
bool isExtIdx2() const { return (getIdx() & 16) != 0; }
- bool hasEvex() const { return isZMM() || isExtIdx2() || hasZero() || getOpmaskIdx() || getRounding(); }
+ bool hasEvex() const { return isZMM() || isExtIdx2() || getOpmaskIdx() || getRounding(); }
bool hasRex() const { return isExt8bit() || isREG(64) || isExtIdx(); }
bool hasZero() const { return zero_; }
int getOpmaskIdx() const { return mask_; }