Commit Graph

463 Commits

Author SHA1 Message Date
kobalicek
58b6c025f2 [ABI] Added more AVX_VNNI instructions, added MOVABS for explicit Imm64 encodings, added more assembler tests 2021-01-26 01:00:29 +01:00
kobalicek
1422faa011 [Bug] Fixed a possible compilation error when using non-uint64_t value as immediate instead of Imm (ambiguity) 2021-01-23 00:07:15 +01:00
kobalicek
70e80b18a5 [Bug] Jump annotation to entry block fix 2021-01-02 12:25:17 +01:00
kobalicek
13876c4e5e Improved JitAllocator to not reiterate the whole block on every allocation 2021-01-02 01:42:30 +01:00
kobalicek
45fe60f93d [Bug] Fixed instruction RW info related to AVX-512 {k} (merging) and {k} {z} (zeroing) 2021-01-02 01:24:46 +01:00
kobalicek
173f09df35 [Bug] Fixed invalid fill in JitAllocator::shrink() when kOptionFillUnusedMemory is in use by JitAllocator (Critical) 2020-12-26 20:12:14 +01:00
kobalicek
c165c00271 Fixed a possible bug that may trigger assertion failure in JitAllocator::alloc() due to not marking an empty block properly (#316) 2020-12-26 12:18:05 +01:00
kobalicek
3b886c8b7b Fixed the use of __buildin___clear_cache() 2020-12-10 01:21:16 +01:00
kobalicek
4b13f71314 Improved GitHub workflows 2020-11-09 00:47:32 +01:00
kobalicek
2199c7d4e7 Improved CI problem matching by always doing out-of-source build (Ninja issue) 2020-11-07 19:31:03 +01:00
kobalicek
fe89388e52 Added problem matchers to CI workflow 2020-11-07 16:05:48 +01:00
kobalicek
88129d7389 [Bug] Don't unlink immediately when creating anonymous memory file, switch to GH actions (Fixes #312) 2020-11-07 00:02:16 +01:00
kobalicek
cb13f69983 Support for using <windows.h> even without NOMINMAX 2020-10-26 20:22:33 +01:00
kobalicek
973f5c9c5c [Bug] Fixed incorrect mov_abs instruction size checking logic (#311) 2020-10-25 00:36:04 +02:00
kobalicek
a281426ca6 [CMake] Include GNUInstallDirs after project() 2020-10-07 16:50:42 +02:00
David CARLIER
3c4415d729 [Bug] NetBSD build needs librt (#305) 2020-09-29 00:57:40 +02:00
Samuel Pordeus
a4341e811d Fix typo on features.h (#303) 2020-09-29 00:17:49 +02:00
Emmanuel Vadot
cfdf5bd4eb FreeBSD: Fix compilation with -Werror (#302)
VirtMem_getTmpDir is not used when SHM_ANON is defined which is the case
on FreeBSD. This breaks compilation if -Werror is defined.

Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
2020-09-27 16:48:06 +02:00
kobalicek
b49d685cd9 Added github funding file 2020-09-22 20:16:28 +02:00
kobalicek
d7d3db1c4f Updated README.txt and removed a file that is not used anymore 2020-09-16 01:03:38 +02:00
kobalicek
5bc166efdb Updated README.md (Sponsors) 2020-09-12 19:55:16 +02:00
kobalicek
cd44f41d9b Preparation for AArch64 support 2020-09-12 18:19:04 +02:00
Max Bernstein
9cb2b298e1 Avoid an unused argument warning when compiling AsmJit (#301) 2020-09-12 12:01:35 +02:00
kobalicek
94061cd294 [Bug] Fixed ZoneVector reverse iterators and rbegin()/rend() - bug introduced by a previous commit 2020-09-12 09:32:38 +02:00
kobalicek
358d944bf2 Simplify ZoneVector iterators, use std::lower_bound() instead a custom implementation 2020-09-06 22:08:23 +02:00
kobalicek
bbe6b457a1 Fixed Solaris build (cannot use EAX, EDX, etc as these are macros) 2020-09-04 22:28:00 +02:00
kobalicek
d1b7543488 Added an initial cmake export support so users can find installed asmjit (Fixes #290) 2020-08-31 20:33:29 +02:00
Markus Schmidl
8f25116f2b [Bug] Extended Family Id calculation incorrect (fixes #298) 2020-08-19 15:57:19 +02:00
kobalicek
0646d0a48f [Bug] Added a possibility to order sections so the address table section can stay last even when user creates sections after it has been created (#293) 2020-08-09 13:14:38 +02:00
kobalicek
10be0c8f1d Added parameter pack to function arguments and return values 2020-08-09 13:14:12 +02:00
kobalicek
8474400e82 [Bug] Fixed RW info of string instructions, fixed lodsx() helper intructions in emitter 2020-07-10 23:21:36 +02:00
kobalicek
509866ef12 [Bug] Fixed invalid code generation related to lookup tables (Compiler) 2020-07-10 18:27:29 +02:00
kobalicek
c130455898 Added ASMJIT_NO_FOREIGN compile-time option to disable non-host architectures in the future 2020-07-07 10:27:46 +02:00
kobalicek
2de7e74244 Instruction validator now doesn't pass 'push/pop [mem]' having unknown size 2020-07-06 00:09:17 +02:00
kobalicek
ae4ad9075d Fixed signatures of recently added ud0 and ud1 instructions, added two-operand NOP (fixes #217) 2020-07-05 13:32:53 +02:00
kobalicek
75f2b69a26 Added new instructions and removed deprecated PCOMMIT 2020-07-05 02:21:24 +02:00
kobalicek
ba30278d66 Added support for more X86 extensions (AMX, AVX512_VP2INTERSECT, MCOMMIT, RDPRU, SERIALIZE, SNP, TSXLDTRK) 2020-07-01 01:07:37 +02:00
kobalicek
3535263419 Added ASMJIT_API to BaseEmitter::_emitOpArray() + other minor changes 2020-06-24 22:51:04 +02:00
kobalicek
5bd643058a Improved embedLabel() - now it's possible to specify the dataSize 2020-06-21 16:33:16 +02:00
kobalicek
87c566a32e [Bug] Fixed validation of memory operand with Label as a base address. 2020-06-16 10:46:13 +02:00
kobalicek
d4c54e099c [Bug] Fixed ASMJIT_CXX_MAKE_VER to not use PATCH, which doesn't exist anymore 2020-06-11 21:03:11 +02:00
kobalicek
4ea9f8ab5d Added a possibility to encode movsxd with 16-bit and 32-bit operands 2020-06-09 23:55:58 +02:00
kobalicek
cab5795858 Revert the last change 2020-06-06 23:50:12 +02:00
kobalicek
bd4f7c67e7 Improved x86::Compiler to use x86::Builder::finalize() instead using its own. 2020-06-06 22:36:31 +02:00
kobalicek
168f2c17bf Don't mark BaseBuilder::dump() as ASMJIT_API 2020-06-06 22:32:56 +02:00
kobalicek
0e04695f64 Fixed broken CI 2020-06-01 12:18:01 +02:00
kobalicek
b73830c291 Fixed some mistakes introduced in the previous commit 2020-06-01 10:04:18 +02:00
kobalicek
f986f7fc44 AsmJit cleanup and refactoring 2020-05-31 23:39:13 +02:00
kobalicek
e78bba83da Added a support for indirect jumps within a function (Compiler) (#286) 2020-05-09 01:00:18 +02:00
kobalicek
80645e66a8 Improved natvis support 2020-05-03 22:38:56 +02:00