aboutsummaryrefslogtreecommitdiffhomepage
path: root/xbyak/xbyak.h
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-08-29 09:54:27 +0900
committerMITSUNARI Shigeo <[email protected]>2024-08-29 09:54:27 +0900
commitccdf68421bc8eb85693f573080fc0a5faad862db (patch)
treee95abba0bcb3771408e9539b7f1b6be7a773c202 /xbyak/xbyak.h
parentaabb091ae37068498751fd58202a9854408ecb0e (diff)
parentfd77bc7e00d2af3ad119c98f4d7829632dd9a894 (diff)
downloadxbyak-ccdf68421bc8eb85693f573080fc0a5faad862db.tar.gz
xbyak-ccdf68421bc8eb85693f573080fc0a5faad862db.zip
Merge branch 'dev'v7.07.1
Diffstat (limited to 'xbyak/xbyak.h')
-rw-r--r--xbyak/xbyak.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index e7459d3..e67de82 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -155,7 +155,7 @@ namespace Xbyak {
enum {
DEFAULT_MAX_CODE_SIZE = 4096,
- VERSION = 0x7070 /* 0xABCD = A.BC(.D) */
+ VERSION = 0x7071 /* 0xABCD = A.BC(.D) */
};
#ifndef MIE_INTEGER_TYPE_DEFINED
@@ -2999,6 +2999,7 @@ public:
rex(*p2, *p1); db(0x90 | (p2->getIdx() & 7));
return;
}
+ if (p1->isREG() && p2->isREG()) std::swap(p1, p2); // adapt to NASM 2.16.03 behavior to pass tests
opRO(static_cast<const Reg&>(*p1), *p2, 0, 0x86 | (p1->isBit(8) ? 0 : 1), (p1->isREG() && (p1->getBit() == p2->getBit())));
}