Commit Graph

232 Commits

Author SHA1 Message Date
kobalicek
c8c16f3366 [bug] Fixed encoding of vmovd and vmovq instructions 2017-02-16 02:31:42 +01:00
kobalicek
8c86004d7f Minor Compiler fixes especially related to AVX 2017-02-15 17:22:16 +01:00
kobalicek
8062e7d433 Dump an instruction signature on error, corrected x86 validator a bit, adjusted DB according to asmdb changes 2017-02-14 18:40:31 +01:00
kobalicek
216fb5a281 Added FastEval calling convention - AsmJit specific/experimental feature 2017-02-11 02:34:09 +01:00
kobalicek
43dbe48afc Added CodeCompiler::newSimilarReg, merged generate-xxx tools from next-wip branch, changed pcmpgtq to be in SSE4.2 group 2017-02-09 14:15:08 +01:00
Philipp Paulweber
a984b508fc Clean-up (#153)
Clean-up (ctor init order, unused variables, misc)
2017-02-09 13:48:20 +01:00
kobalicek
814cf62a85 Added validation of absolute memory address to the validator 2017-02-03 17:50:51 +01:00
kobalicek
13a5105fe0 Moved some hardcoded positions in tabled into template-based approach 2017-02-03 17:44:58 +01:00
kobalicek
ff2bf109fc Minor improvements of CodeCompiler 2017-02-02 15:14:07 +01:00
kobalicek
ef44e5a2f9 Fixed initialization of CodeHolder 2017-02-02 03:17:38 +01:00
kobalicek
fa43c7be07 Make asmjit compile with all possible ASMJIT_DISABLE_... options 2017-02-02 00:48:05 +01:00
kobalicek
0943382a0c Minor changes, fixed a very rare X86Compiler bug in liveness analysis 2017-02-02 00:37:10 +01:00
Michał Janiszewski
dc0ccfd74c Fix compilation with ICC (17.0.1) (#150) 2017-01-26 21:36:10 +01:00
Petr Kobalicek
b7f6d1e369 Merged asmjit:next branch (#149) 2017-01-26 15:55:03 +01:00
svost
fb9f82cb61 Typo fix (Issue #143) 2016-11-11 19:34:49 +01:00
Wenzel Jakob
f900a92e13 [BUG] Fix avx512 detection (#136) 2016-09-17 15:25:08 +02:00
kobalicek
a7d3c757e4 Updated README to inform about the next branch 2016-09-13 00:53:15 +02:00
kobalicek
6467c73ddf [BUG] Fixed a macro expansion from wordptr to word_ptr (only rip addressing affected) 2016-07-10 05:30:56 +02:00
kobalicek
c908c3db8d Added ADX, TBM, CLFLUSH_OPT, PREFETCHW, and SHA instruction sets to Assembler and Compiler\nAdded initial support for AVX/AVX2 instructions into X86Compiler\nRenamed oword to dqword (intel convention)\nFixed incorrect XOP and FMA4 detection\nCosmetic changes in documentation\nFixed unused typedef warnings (clang) (related to #132) 2016-07-03 23:05:43 +02:00
kobalicek
6f6ca70c4c Fixed BMI and BMI2 (finally). 2016-06-30 19:44:12 +02:00
kobalicek
5db35108d0 Fixed MSVC compilation issues. 2016-06-30 19:16:43 +02:00
kobalicek
d25f392c6e Minor code cleanup, fixed 64-bit BMI and BMI2 instructions 2016-06-30 18:59:59 +02:00
kobalicek
286bc22f49 Better compiler flags detection in CMakeLists.txt\nFixed missing noexcept in StaticRuntime.cpp 2016-05-05 04:08:23 +02:00
kobalicek
f7de7b8d35 Added a test-case to verify stack allocation, attempt to fix #128 2016-04-16 16:35:58 +02:00
kobalicek
9fc1dbfdcd Moved calling conventions to globals.h
Fixed #128
2016-04-16 14:50:17 +02:00
kobalicek
f7ddd38777 Trying to trigger #126 2016-04-09 13:51:48 +02:00
kobalicek
83682451b8 Mark clobbered registers when allocating "call" (X86Compiler) 2016-04-09 04:55:00 +02:00
James Laver
02ba5cc35c renamed bswap32 to byteswap32 to avoid conflict with builtin freebsd macro 2016-04-03 16:14:04 +02:00
kobalicek
446a5f1cb1 Improved asmjit trace - pretty print nodes being removed 2016-03-29 04:57:56 +02:00
kobalicek
6ef5878eca Minor compiler update - unreachable code remover will not remove labels. 2016-03-29 01:01:28 +02:00
kobalicek
95aacf9fd1 Moved addFunc() from X86Compiler to Compiler.
Fixed CompilerContext not being reset after the first function is translated.
2016-03-28 23:18:41 +02:00
kobalicek
7b0e362ac6 Added ASMJIT_TRACE support to CMakeLists.txt 2016-03-28 22:33:32 +02:00
kobalicek
4a654c2c49 Fixed bug in PodVectorTmp<> implementation and added a test-case for it. 2016-03-28 02:03:25 +02:00
kobalicek
b81004bc99 [Bug] Fixed a bug in X86Compiler::getIntPtr() not promoting intptr to int32/int64.
Minor changes.
2016-03-24 03:26:41 +01:00
kobalicek
185a96a46a Reworked CpuInfo (removed X86CpuInfo, added ARM CpuInfo support).
Renamed CodeGen to ExternalTool.
Moved logger constants from asmjit namespace to asmjit::Logger.
Moved AssemblerFeature constants from asmjit namespace to asmjit::Assembler.
Added noexcept to most APIs that are not intended to throw.
Added memory utilities that can read/write to unaligned memory location (ongoing ARM support).
Removed unimplemented instruction scheduler, will be added back when it's working.
2016-03-21 21:41:55 +01:00
kobalicek
a5cdf0b44b Updated x86inst. 2016-03-10 18:04:19 +01:00
kobalicek
d7317987bf Added a link to chat-room to README.md. 2016-03-10 18:01:38 +01:00
Petr Kobalicek
c31593c5ed Merge pull request #123 from alexjbest/master
[BUG] Fixed bug in optimised align code
2016-03-09 00:07:56 +01:00
Alex J. Best
374de74994 fixed bug in optimised align code 2016-03-08 18:32:26 +00:00
kobalicek
12495ceffc Fixed wrong commit 2016-03-08 19:13:14 +01:00
kobalicek
a33393265b [BUG] Clear last error after X86Compiler is attached to X86Assembler (#120) 2016-03-07 22:57:45 +01:00
kobalicek
1b56ec62a9 Fixed invalid check in push/pop when used with a memory operand (32-bit). 2016-01-20 02:17:45 +01:00
kobalicek
7c197912fd Minor changes. 2016-01-14 18:34:43 +01:00
kobalicek
8f52f1ef87 Removed #pragma intrinsic(...), it's not needed anymore. 2016-01-12 23:03:36 +01:00
kobalicek
fd91ba5fee Minor code cleanup, fixed variable shadowing and unused parameters. 2016-01-12 03:14:23 +01:00
kobalicek
edc3c3b0af Fixed invalid check regarding VS2010. 2016-01-11 03:46:23 +01:00
kobalicek
75221286ab [BUG] Fixed a FPU bug (kX86InstEncodingIdFpuArith) introduced by bf8bba5bba
[BUG] Fixed blend_bench tool
2016-01-08 20:27:06 +01:00
kobalicek
1c3570cb9b Refactored to use nullptr instead of NULL, if compiler supports it. 2016-01-07 18:42:30 +01:00
kobalicek
eb7a6b0d26 Fixed ASMJIT_FALL_THROUGH detection.
Renamed ASMJIT_FALL_THROUGH to ASMJIT_FALLTHROUGH.
2016-01-07 00:01:07 +01:00
kobalicek
89f8d4bbf8 Added ASMJIT_FALL_THROUGH to better deal with switch/case
Replaced ASSERTs by runtime checks in X86Compiler intrinsics
2016-01-06 21:17:17 +01:00