Commit Graph

21 Commits

Author SHA1 Message Date
Ryan Gonzalez
ee1cf60114 Fix Clang warning about -f-inline-functions 2014-11-30 14:28:57 -06:00
kobalicek
0cff228354 Fixed CMakeLists.txt (again). 2014-09-22 20:06:43 +02:00
kobalicek
d9f5a525e5 Fixed cmake crashing after secondary run. 2014-09-21 21:12:45 +02:00
kobalicek
eef8f78953 Removed contribs
Added some misc methods to Compiler.
Moved reset() from X86Var to Var.
2014-09-17 20:31:53 +02:00
xantares
2475e3f80a Install dll in <prefix>/bin 2014-07-17 07:13:29 +00:00
xantares
f82fd80305 Install if not ASMJIT_EMBED 2014-07-17 07:11:51 +00:00
kobalicek
fa955663e3 Changed asmjit namespaces, each architecture has now only one namespace for registers / memory operands.
Changed instruction table schema to minimize its size and added use of EFLAGS register (for scheduler).
Changed the rest of intrinsics accepting `void*` to accept `Ptr` instead.
Changed clear()/reset() concept - only `reset()` now exists and accepts a `releaseMemory` argument.
Changed unit tests to use bundled `Broken` framework.
Moved podvector and podlist to base/containers.
Added CMPS, LODS, MOVS, SCAS, STOS instructions.
Added Label::isInitialized() and Var::isInitialized().
Added X86Scheduler stub - preparing for instruction reordering.
Added support for tracing (see ASMJIT_TRACE) to allow consumers to find bugs in AsmJit quicker.
Fixed possible Zone memory leak.
Fixed and improved alloc/spill (added support for home register which asmjit honors from now).
Fixed Assembler `LEA REG, [LABEL]` bug.
Fixed [Mem, Imm] instructions with zero-sized operand to return error instead of emitting garbage.
Fixed minor bug in VMemMgr - always point to a correct hProcess so it can be used properly (#41).
2014-07-12 17:50:35 +02:00
kobalicek
c87814b225 Added librt dependency on Linux by default. 2014-06-06 22:18:51 +02:00
kobalicek
db322d5dc1 Added minimalist unit testing (and removed some apps that did some tests). 2014-06-04 22:12:52 +02:00
kobalicek
1fdcf250d2 Split registers from x86operand so they don't have to use static initialization. 2014-05-27 23:08:27 +02:00
kobalicek
1a73e65534 - Minor reorganization of source code (split defs to operand and instruction info).
- Added JECXZ instruction.
- Doxyfile is now in project root.
- Documentation updates.
2014-05-10 21:19:50 +02:00
kobalicekp
f1ce2383ba - Major documentation reorganization of AsmJit (still far from perfection)
- Documentation - removed verbose @brief and switched to markdown syntax which Doxygen supports.
- Added inline documentation to AVX/AVX2 instructions.
- Added more documentation notes to utility classes.
- Modified documentation groups to be compatible with the new code layout (base/x86).

- Renamed VirtualMemoryManager to VMemMgr.
- Removed MemoryManager interface (not needed).
- Changed JitRuntime to always create a new isolated VMemMgr instance.
- Fixed WinRemoteRuntime to work with the new changes.

- Added missing insertps instruction to database, assembler and compiler.
- Moved global functions in x86cpuinfo to CpuUtil class.

- Should notify Issue #10
2014-05-04 23:11:12 +02:00
kobalicekp
0af60d6eb4 Added proof-of-concept constant pool implementation.
Fixed bug when c.alloc() is called with a specific register.
2014-04-21 03:30:05 +02:00
kobalicekp
f9b94d55a2 Build - Added multithreaded build by default when building under MSVC
Build - Added possibility to embed asmjit instead of making shared library (solves some Linux issues)
2014-04-08 01:47:50 +02:00
Kristoffer Grönlund
4a684c7fee Fix warning on mismatching If/EndIf 2014-04-02 10:39:02 +02:00
kobalicekp
fa528f4741 Added gcc visibility push/pop to ApiBegin/ApiEnd.
ApiBegin/ApiEnd moved from asmjit/base to asmjit.
2014-04-01 21:16:31 +02:00
kobalicekp
45522aa097 Added -FPIC parameter when building a static library.
Added CpuTicks to asmjit to make benchmarking easier.
Renamed Cpu to CpuInfo.
Minor documentation updates.
2014-04-01 11:11:07 +02:00
kobalicekp
995730b929 Added possibility to annotate a code compiled by compiler so it's easier to see which variables were translated to which registers. 2014-03-22 14:52:36 +01:00
kobalicekp
5ea8bc00c2 Minor reorganization. 2014-02-13 22:42:49 +01:00
kobalicekp
10480cada5 Refactored CMakeLists.txt. 2014-02-02 20:44:47 +01:00
kobalicekp
5c7123fbb3 Initial. 2014-02-02 03:17:30 +01:00