diff options
author | MITSUNARI Shigeo <[email protected]> | 2016-12-01 11:14:17 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2016-12-01 11:14:17 +0900 |
commit | d50d40878452121b3b10b0c5595f5342f5b0f02d (patch) | |
tree | 7182d138fad291951a7fb9ac0243a13e1f6970ea | |
parent | 37819805933b97c82066df273d4113e4fabddbef (diff) | |
download | xbyak-d50d40878452121b3b10b0c5595f5342f5b0f02d.tar.gz xbyak-d50d40878452121b3b10b0c5595f5342f5b0f02d.zip |
rename __xgetbv() to _xgetbv() to support clang for Visual Studio
-rw-r--r-- | readme.md | 9 | ||||
-rw-r--r-- | readme.txt | 3 | ||||
-rw-r--r-- | xbyak/xbyak.h | 2 | ||||
-rw-r--r-- | xbyak/xbyak_util.h | 6 |
4 files changed, 9 insertions, 11 deletions
@@ -1,5 +1,5 @@ -Xbyak 5.31 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++ +Xbyak 5.32 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++ ============= Abstract @@ -20,12 +20,12 @@ MMX/MMX2/SSE/SSE2/SSE3/SSSE3/SSE4/FPU(*partial*)/AVX/AVX2/FMA/VEX-encoded GPR/AV * Windows Xp, Vista, Windows 7(32bit, 64bit) * Linux(32bit, 64bit) -* Intel Mac ready +* Intel Mac OSX ### Supported Compilers -* Visual Studio C++ VC2008 Pro, VC2010, VC2012 -* gcc 4.7 +* Visual Studio C++ VC2012 or later +* gcc 4.7 or later * clang 3.3 * cygwin gcc 4.5.3 * icc 7.2 @@ -323,6 +323,7 @@ The header files under xbyak/ are independent of cybozulib. History ------------- +* 2016/Dec/01 ver 5.32 rename __xgetbv() to _xgetbv() to support clang for Visual Studio(thanks to freiro) * 2016/Nov/27 ver 5.31 rename AVX512_4VNNI to AVX512_4VNNIW * 2016/Nov/27 ver 5.30 add AVX512_4VNNI, AVX512_4FMAPS instructions(thanks to rsdubtso) * 2016/Nov/26 ver 5.20 add detection of AVX512_4VNNI and AVX512_4FMAPS(thanks to rsdubtso) @@ -1,5 +1,5 @@ - C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 5.31
+ C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 5.32
-----------------------------------------------------------------------------
◎概要
@@ -333,6 +333,7 @@ cybozulibは単体テストでのみ利用されていて、xbyak/ディレク� -----------------------------------------------------------------------------
◎履歴
+2016/12/01 ver 5.32 clang for Visual Studioサポートのために__xgetbv()を_xgetbv()に変更(thanks to freiro)
2016/11/27 ver 5.31 AVX512_4VNNIをAVX512_4VNNIWに変更
2016/11/27 ver 5.30 AVX512_4VNNI, AVX512_4FMAPS命令の追加(thanks to rsdubtso)
2016/11/26 ver 5.20 AVX512_4VNNIとAVX512_4FMAPSの判定追加(thanks to rsdubtso)
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 32bb9c1..322d820 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -105,7 +105,7 @@ namespace Xbyak { enum { DEFAULT_MAX_CODE_SIZE = 4096, - VERSION = 0x5310 /* 0xABCD = A.BC(D) */ + VERSION = 0x5320 /* 0xABCD = A.BC(D) */ }; #ifndef MIE_INTEGER_TYPE_DEFINED diff --git a/xbyak/xbyak_util.h b/xbyak/xbyak_util.h index 6040087..a5031df 100644 --- a/xbyak/xbyak_util.h +++ b/xbyak/xbyak_util.h @@ -48,10 +48,6 @@ #endif #endif -#ifdef _MSC_VER -extern "C" unsigned __int64 __xgetbv(int); -#endif - namespace Xbyak { namespace util { /** @@ -118,7 +114,7 @@ public: static inline uint64 getXfeature() { #ifdef _MSC_VER - return __xgetbv(0); + return _xgetbv(0); #else unsigned int eax, edx; // xgetvb is not support on gcc 4.2 |