Ryan Houdek
0383a3246d
Adds an explicit 64-bit imm move
...
Never optimizes and is always a 64-bit move of a fixed size.
Will be used for backpatching purposes.
2022-04-25 15:53:06 -07:00
Ryan Houdek
ea21d6e295
Adds retf
2021-11-13 01:35:00 -08:00
Ryan Houdek
b38b175241
Adds hlt
2021-11-13 01:34:51 -08:00
Ryan Houdek
e5f413ae42
Adds jmpf
2021-11-13 01:34:40 -08:00
Ryan Houdek
243d8bb609
Disables xbyak db code size checking
2021-04-27 00:50:15 -07:00
Ryan Houdek
782a28238e
Fixes extended feature support checking
...
This was locking feature checks between Intel and AMD.
Most of the features overlap between AMD and Intel for extended flag
information in fn8000_0001.
Fixes detection of LZCNT/ABM on my Zen+ CPU
2020-10-04 16:16:16 -07:00
Ryan Houdek
89bd52d36a
Adds new setNewBuffer function
...
This allows us to redirect the backing buffer temporarily.
This will cause labels to become invalid so one must take take when
using it.
2020-08-29 14:31:39 -07:00
MITSUNARI Shigeo
c306b8e578
update to v5.95
2020-08-28 14:42:37 +09:00
MITSUNARI Shigeo
605e4224c4
use noexcept if C++11 or later
2020-08-28 11:56:12 +09:00
MITSUNARI Shigeo
7a17c2c8f9
remove warning
2020-08-28 11:52:25 +09:00
MITSUNARI Shigeo
5dfa446204
use constexpr if c++14 or later
2020-08-28 11:51:06 +09:00
MITSUNARI Shigeo
18c9caaa0a
Merge branch 'densamoilov-fix-mov-interface' into dev
2020-08-25 13:58:52 +09:00
Denis Samoilov
3966ba9d34
fix mov interface
...
Make mov interface that takes a pointer template to avoid ambiguity when
the 2nd argument is 0UL. Now, when the 2nd argument is 0 or 0UL the call
goes to the correct version of the mov method.
2020-08-24 15:53:04 -07:00
MITSUNARI Shigeo
be492be1a4
change the behavior of push((byte|word), imm) to cast imm to int8_t/int16_t
2020-08-24 16:29:34 +09:00
MITSUNARI Shigeo
d9696b54d1
Merge pull request #102 from igorsafo/master
...
Cpu: make getNumCores constant
2020-08-21 10:16:12 +09:00
Safonov, Igor
ea73267fb4
Cpu: make getNumCores constant
2020-08-20 17:17:26 -07:00
MITSUNARI Shigeo
ff0b10e90a
Merge pull request #101 from densamoilov/use-thread_local-when-supported
...
Use thread_local for XBYAK_TLS when supported
2020-08-19 10:26:36 +09:00
Denis Samoilov
0c4eafc3f6
use thread_local for XBYAK_TLS when supported
2020-08-18 14:19:21 -07:00
MITSUNARI Shigeo
c1aea35eb7
CodeGenerator::reset() calls ClearError()
2020-08-04 14:09:36 +09:00
MITSUNARI Shigeo
b4df97b141
Merge branch 'cursey-no-winsock2-header'
2020-07-28 20:34:57 +09:00
MITSUNARI Shigeo
6a47bb0ea0
v5.94
2020-07-28 20:34:11 +09:00
MITSUNARI Shigeo
9a1749e655
define WIN32_LEAN_AND_MEAN for including winsock2.h after xbyak.h
2020-07-28 20:29:12 +09:00
cursey
42dddb740c
Remove #include <winsock2.h>
2020-07-27 14:24:26 -07:00
MITSUNARI Shigeo
615b85fab8
update doc
2020-07-21 14:23:01 +09:00
MITSUNARI Shigeo
9cd796a9f1
rename XBYAK_NOEXCEPTION to XBYAK_NO_EXCEPTION
2020-07-21 14:07:08 +09:00
MITSUNARI Shigeo
7cdf227f25
use static to avoid multiple instance
2020-07-21 11:55:14 +09:00
MITSUNARI Shigeo
38a28dece4
test_nm.bat supports noexcept
2020-07-20 18:28:36 +09:00
MITSUNARI Shigeo
0fdffc6b90
XBYAK_NOEXCEPTION for -fno-exceptions
2020-07-20 18:24:34 +09:00
MITSUNARI Shigeo
eda6e2a364
v5.92
2020-06-30 20:30:49 +09:00
MITSUNARI Shigeo
5c26c8bb72
mov(rax, imm64) on 32-bit env with XBYAK64
2020-06-30 20:26:27 +09:00
MITSUNARI Shigeo
6208e3ae8a
throw exception if not supported amx sibmem 2
2020-06-30 19:53:44 +09:00
MITSUNARI Shigeo
c6737d14bf
mov amx insts from avx512
2020-06-30 18:15:43 +09:00
MITSUNARI Shigeo
34ea5c1642
throw exception if not supported amx sibmem
2020-06-30 18:10:31 +09:00
MITSUNARI Shigeo
6f93fe3511
fix test of sizeof(Operand)
2020-06-28 05:49:05 +09:00
MITSUNARI Shigeo
5b89c3b217
remove T_TMM
2020-06-28 05:30:40 +09:00
MITSUNARI Shigeo
5ce3285804
gen_amx.cpp is merged into gen_avx512.cpp
2020-06-28 05:30:04 +09:00
MITSUNARI Shigeo
fe4f965fd8
remove my alias for tmm registers
2020-06-28 05:19:09 +09:00
MITSUNARI Shigeo
92f904d849
bit_ contains 8192
2020-06-28 05:17:22 +09:00
Shustrov, Nikita
98b51da9e2
extend mnemonics with Intel(R) AMX ISA
2020-06-26 11:14:20 -07:00
Shustrov, Nikita
8d1b4c9e12
add generation of Intel(R) AMX ISA mnemonics
2020-06-26 11:13:38 -07:00
Shustrov, Nikita
8ded45d1e2
add support of Intel(R) AMX ISA
2020-06-26 11:12:20 -07:00
MITSUNARI Shigeo
b23c4b026a
v5.912
2020-06-19 14:36:10 +09:00
MITSUNARI Shigeo
ffe32a60f7
Merge branch 'rsdubtso-master'
2020-06-19 14:35:22 +09:00
Roman Dubtsov
e7b7fd2f03
use MAP_JIT on macOS regardless of Xcode version
...
This allows only requiring com.apple.security.cs.allow-jit
entitlement with hardened runtime even if built with Xcode 9
which does not have MAP_JIT.
2020-06-18 19:52:18 -07:00
MITSUNARI Shigeo
82b70e6659
v5.911 ; XBYAK_USE_MMAP_ALLOCATOR is defined
2020-05-10 14:43:41 +09:00
MITSUNARI Shigeo
2f6d9e3450
fix test for mac
2020-05-10 14:43:38 +09:00
MITSUNARI Shigeo
a7d10a1e4a
add link to GitHub Sponsor
2020-04-20 11:21:54 +09:00
MITSUNARI Shigeo
9607626565
accept k0 mask register (it means no mask)
2020-04-20 11:21:35 +09:00
MITSUNARI Shigeo
7e3167e4b0
kmov{b,w,d,q} throws for unsupported reg
2020-04-09 11:44:29 +09:00
MITSUNARI Shigeo
f487d7b780
Merge pull request #91 from marcelotrevisani/patch-1
...
Possibility to specify a different PREFIX
2020-04-08 20:05:07 +09:00