Commit Graph

754 Commits

Author SHA1 Message Date
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
Marcelo Duarte Trevisani
dc9e6a79d6
Possibility to specify a different PREFIX
Possibility to specify a different PREFIX from the command line
2020-04-08 09:26:15 +01:00
MITSUNARI Shigeo
5fc69fc8e2 remove warning of test 2020-02-26 15:35:37 +09:00
MITSUNARI Shigeo
e69e0b420a fix typo of type of Zmi 2020-02-26 15:22:42 +09:00
MITSUNARI Shigeo
34f797e88f perf does not recognize too short function name 2020-01-27 14:48:54 +09:00
MITSUNARI Shigeo
6cc0f4dfc7 Consider max defined as a macro on Windows 2020-01-18 11:19:16 +09:00
Roman Dubtsov
5722393d41 fix for zeroed-out 0xb leaf
Hypervisors may indicate x2APIC support but
sill have zeroes in the 0xb leaf. This patch
slightly improves behavior in such a case.
2020-01-17 15:58:12 -08:00
MITSUNARI Shigeo
6a4459a83a Merge branch 'tyfkda-feature/fix-segfault-in-calc' 2020-01-15 14:50:28 +09:00
tyfkda
47922ed96c Fix segmentation fault in calc sample
Segmentation fault occurred in `calc` sample
when no variables are given from command line argument:

```
$ cd sample
$ make calc64
$ ./calc64 "" "123"
varTbl = { }
64bit mode
zsh: segmentation fault  ./calc64 "" "123"
```

`put` function always access `x[0]`,
but segmentation fault occurred when `x.size() == 0`.
2020-01-15 09:13:13 +09:00
MITSUNARI Shigeo
8f696e93d1 add test_avx512 to bat 2020-01-07 15:57:32 +09:00
MITSUNARI Shigeo
00114d7916 add .travis.yml 2020-01-03 22:32:12 +09:00
MITSUNARI Shigeo
a29fa27b92 refactor test 2020-01-03 22:13:55 +09:00