aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2014-10-14 09:12:40 +0900
committerMITSUNARI Shigeo <[email protected]>2014-10-14 09:12:40 +0900
commitc0b1b0ad5d68346bb3ba7d846600037b1d9e8936 (patch)
tree3daaf208ba595e160ce02b71cf60e6223aa12845
parentb1a1860fae1de91f9d257625b8e5c8072f6a1eed (diff)
downloadxbyak-c0b1b0ad5d68346bb3ba7d846600037b1d9e8936.tar.gz
xbyak-c0b1b0ad5d68346bb3ba7d846600037b1d9e8936.zip
update doc
-rw-r--r--readme.md12
-rw-r--r--readme.txt3
-rw-r--r--xbyak/xbyak.h2
-rw-r--r--xbyak/xbyak_mnemonic.h2
4 files changed, 14 insertions, 5 deletions
diff --git a/readme.md b/readme.md
index 1a23a13..a9d22b3 100644
--- a/readme.md
+++ b/readme.md
@@ -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
diff --git a/readme.txt b/readme.txt
index 4722374..d287034 100644
--- a/readme.txt
+++ b/readme.txt
@@ -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); }