aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--readme.md4
-rw-r--r--readme.txt4
-rw-r--r--xbyak/xbyak.h3
-rw-r--r--xbyak/xbyak_mnemonic.h2
4 files changed, 9 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index f9e657a..dec8fec 100644
--- a/readme.md
+++ b/readme.md
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/herumi/xbyak.png)](https://travis-ci.org/herumi/xbyak)
-# Xbyak 5.94 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++
+# Xbyak 5.941 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++
## Abstract
@@ -411,6 +411,7 @@ See [protect-re.cpp](sample/protect-re.cpp).
If `XBYAK_NO_EXCEPTION` is defined, then gcc/clang can compile xbyak with `-fno-exceptions`.
In stead of throwing an exception, `Xbyak::GetError()` returns non-zero value (e.g. `ERR_BAD_ADDRESSING`) if there is something wrong.
The status will not be changed automatically, then you should reset it by `Xbyak::ClearError()`.
+`CodeGenerator::reset()` calls `ClearError()`.
## Macro
@@ -436,6 +437,7 @@ modified new BSD License
http://opensource.org/licenses/BSD-3-Clause
## History
+* 2020/Aug/04 ver 5.941 `CodeGenerator::reset()` calls `ClearError()`.
* 2020/Jul/28 ver 5.94 remove #include <winsock2.h> (only windows)
* 2020/Jul/21 ver 5.93 support exception-less mode
* 2020/Jun/30 ver 5.92 support Intel AMX instruction set (Thanks to nshustrov)
diff --git a/readme.txt b/readme.txt
index c193ade..ab0b119 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,5 +1,5 @@
- C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 5.94
+ C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 5.941
-----------------------------------------------------------------------------
◎概要
@@ -50,6 +50,7 @@ XBYAK_NO_EXCEPTIONを定義してコンパイルするとgcc/clangで-fno-except
エラーは例外の代わりに`Xbyak::GetError()`で通達されます。
この値が0でなければ何か問題が発生しています。
この値は自動的に変更されないので`Xbyak::ClearError()`でリセットしてください。
+`CodeGenerator::reset()`は`ClearError()`を呼びます。
MmapAllocator追加
これはUnix系OSでのみの仕様です。XBYAK_USE_MMAP_ALLOCATORを使うと利用できます。
@@ -377,6 +378,7 @@ sample/{echo,hello}.bfは http://www.kmonos.net/alang/etc/brainfuck.php から
-----------------------------------------------------------------------------
◎履歴
+2020/08/04 ver 5.941 `CodeGenerator::reset()`が`ClearError()`を呼ぶように変更
2020/07/28 ver 5.94 #include <winsock2.h>の削除 (only windows)
2020/07/21 ver 5.93 例外なしモード追加
2020/06/30 ver 5.92 Intel AMX命令サポート (Thanks to nshustrov)
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index 2cf2acf..41894d0 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -124,7 +124,7 @@ namespace Xbyak {
enum {
DEFAULT_MAX_CODE_SIZE = 4096,
- VERSION = 0x5940 /* 0xABCD = A.BC(D) */
+ VERSION = 0x5941 /* 0xABCD = A.BC(D) */
};
#ifndef MIE_INTEGER_TYPE_DEFINED
@@ -1408,6 +1408,7 @@ public:
clabelDefList_.clear();
clabelUndefList_.clear();
resetLabelPtrList();
+ ClearError();
}
void enterLocal()
{
diff --git a/xbyak/xbyak_mnemonic.h b/xbyak/xbyak_mnemonic.h
index 00dbf5e..393a8dc 100644
--- a/xbyak/xbyak_mnemonic.h
+++ b/xbyak/xbyak_mnemonic.h
@@ -1,4 +1,4 @@
-const char *getVersionString() const { return "5.94"; }
+const char *getVersionString() const { return "5.941"; }
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 adcx(const Reg32e& reg, const Operand& op) { opGen(reg, op, 0xF6, 0x66, isREG32_REG32orMEM, NONE, 0x38); }