We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d87c27 commit a0f8f76Copy full SHA for a0f8f76
xbyak/xbyak.h
@@ -644,12 +644,12 @@ class Operand {
644
void setBit(int bit);
645
void setOpmaskIdx(int idx, bool /*ignore_idx0*/ = true)
646
{
647
- if (mask_ && (mask_ != idx)) XBYAK_THROW(ERR_OPMASK_IS_ALREADY_SET)
+ if (mask_ && (mask_ != unsigned(idx))) XBYAK_THROW(ERR_OPMASK_IS_ALREADY_SET)
648
mask_ = idx;
649
}
650
void setRounding(int idx)
651
652
- if (rounding_ && (rounding_ != idx)) XBYAK_THROW(ERR_ROUNDING_IS_ALREADY_SET)
+ if (rounding_ && (rounding_ != unsigned(idx))) XBYAK_THROW(ERR_ROUNDING_IS_ALREADY_SET)
653
rounding_ = idx;
654
655
void setZero() { zero_ = true; }
0 commit comments