diff options
author | MITSUNARI Shigeo <[email protected]> | 2014-10-14 09:12:40 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2014-10-14 09:12:40 +0900 |
commit | c0b1b0ad5d68346bb3ba7d846600037b1d9e8936 (patch) | |
tree | 3daaf208ba595e160ce02b71cf60e6223aa12845 | |
parent | b1a1860fae1de91f9d257625b8e5c8072f6a1eed (diff) | |
download | xbyak-c0b1b0ad5d68346bb3ba7d846600037b1d9e8936.tar.gz xbyak-c0b1b0ad5d68346bb3ba7d846600037b1d9e8936.zip |
update doc
-rw-r--r-- | readme.md | 12 | ||||
-rw-r--r-- | readme.txt | 3 | ||||
-rw-r--r-- | xbyak/xbyak.h | 2 | ||||
-rw-r--r-- | xbyak/xbyak_mnemonic.h | 2 |
4 files changed, 14 insertions, 5 deletions
@@ -1,5 +1,5 @@ -Xbyak 4.62 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++ +Xbyak 4.70 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++ ============= Abstract @@ -61,7 +61,14 @@ Please rename Reg32e as RegExp if you use (old) Reg32e as RegExp. New Feature ------------- -AutoGrow mode is a mode that Xbyak grows memory automatically if necessary. +* Use MmapAllocator if XBYAK_USE_MMAP_ALLOCATOR. +Default allocator calls posix_memalign on Linux, then mprotect recudes map count. +The max value is written in ```/proc/sys/vm/max_map_count```. +The max number of instances of ```Xbyak::CodeGenerator``` is limited to the value. +Use MmapAllocator if you want to avoid the restriction(This behavior may be default in the feature). + + +* AutoGrow mode is a mode that Xbyak grows memory automatically if necessary. Call ready() before calling getCode() to calc address of jmp. struct Code : Xbyak::CodeGenerator { @@ -269,6 +276,7 @@ The header files under xbyak/ are independent of cybozulib. History ------------- +* 2014/Oct/14 ver 4.70 support MmapAllocator * 2014/Jun/13 ver 4.62 disable warning of VC2014 * 2014/May/30 ver 4.61 support bt, bts, btr, btc * 2014/May/28 ver 4.60 support vcvtph2ps, vcvtps2ph @@ -1,5 +1,5 @@ - C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 4.62
+ C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 4.70
-----------------------------------------------------------------------------
◎概要
@@ -285,6 +285,7 @@ cybozulibは単体テストでのみ利用されていて、xbyak/ディレク� -----------------------------------------------------------------------------
◎履歴
+2014/10/14 ver 4.70 MmapAllocatorのサポート
2014/06/13 ver 4.62 VC2014で警告抑制
2014/05/30 ver 4.61 bt, bts, btr, btcのサポート
2014/05/28 ver 4.60 vcvtph2ps, vcvtps2phのサポート
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index b5bd055..52dfa68 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -96,7 +96,7 @@ namespace Xbyak { enum { DEFAULT_MAX_CODE_SIZE = 4096, - VERSION = 0x4620 /* 0xABCD = A.BC(D) */ + VERSION = 0x4700 /* 0xABCD = A.BC(D) */ }; #ifndef MIE_INTEGER_TYPE_DEFINED diff --git a/xbyak/xbyak_mnemonic.h b/xbyak/xbyak_mnemonic.h index ab51502..20a46eb 100644 --- a/xbyak/xbyak_mnemonic.h +++ b/xbyak/xbyak_mnemonic.h @@ -1,4 +1,4 @@ -const char *getVersionString() const { return "4.62"; } +const char *getVersionString() const { return "4.70"; } void packssdw(const Mmx& mmx, const Operand& op) { opMMX(mmx, op, 0x6B); } void packsswb(const Mmx& mmx, const Operand& op) { opMMX(mmx, op, 0x63); } void packuswb(const Mmx& mmx, const Operand& op) { opMMX(mmx, op, 0x67); } |