update xbyak

dev
MITSUNARI Shigeo 6 years ago
parent df455d0ba4
commit 87afbcc756
  1. 7
      src/xbyak/xbyak.h
  2. 2
      src/xbyak/xbyak_mnemonic.h

@ -113,7 +113,7 @@ namespace Xbyak {
enum { enum {
DEFAULT_MAX_CODE_SIZE = 4096, DEFAULT_MAX_CODE_SIZE = 4096,
VERSION = 0x5750 /* 0xABCD = A.BC(D) */ VERSION = 0x5751 /* 0xABCD = A.BC(D) */
}; };
#ifndef MIE_INTEGER_TYPE_DEFINED #ifndef MIE_INTEGER_TYPE_DEFINED
@ -283,6 +283,11 @@ inline void AlignedFree(void *p)
#endif #endif
} }
template<class To, class From>
inline const To CastTo(From p) throw()
{
return (const To)(size_t)(p);
}
namespace inner { namespace inner {
static const size_t ALIGN_PAGE_SIZE = 4096; static const size_t ALIGN_PAGE_SIZE = 4096;

@ -1,4 +1,4 @@
const char *getVersionString() const { return "5.75"; } const char *getVersionString() const { return "5.751"; }
void adc(const Operand& op, uint32 imm) { opRM_I(op, imm, 0x10, 2); } void adc(const Operand& op, uint32 imm) { opRM_I(op, imm, 0x10, 2); }
void adc(const Operand& op1, const Operand& op2) { opRM_RM(op1, op2, 0x10); } void adc(const Operand& op1, const Operand& op2) { opRM_RM(op1, op2, 0x10); }
void adcx(const Reg32e& reg, const Operand& op) { opGen(reg, op, 0xF6, 0x66, isREG32_REG32orMEM, NONE, 0x38); } void adcx(const Reg32e& reg, const Operand& op) { opGen(reg, op, 0xF6, 0x66, isREG32_REG32orMEM, NONE, 0x38); }

Loading…
Cancel
Save