commit | 9530cc57cdf60ae447731fda7125c0733973207e | [log] [tgz] |
---|---|---|
author | MITSUNARI Shigeo <herumi@nifty.com> | Sun Jul 10 10:23:01 2016 +0900 |
committer | MITSUNARI Shigeo <herumi@nifty.com> | Sun Jul 10 10:23:01 2016 +0900 |
tree | 8fa28d1a39bc6b9097b0d24e2e9d6319d55171ea | |
parent | 439e79bbf5017a0efb5b1e971aaa7e3229a9e398 [diff] |
fix encoding of vcvtpd2ps
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 4e545c5..35dc374 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h
@@ -1827,7 +1827,7 @@ } const Xmm& cvtIdx0(const Operand& x) const { - return x.isXMM() ? xm0 : x.isYMM() ? ym0 : zm0; + return x.isZMM() ? zm0 : x.isYMM() ? ym0 : xm0; } // support (x, x/m, imm), (y, y/m, imm) void opAVX_X_XM_IMM(const Xmm& x, const Operand& op, int type, int code, int imm8 = NONE)