Commit Graph

63 Commits

Author SHA1 Message Date
kobalicekp
00f9e5fe50 64-bit GP register/variable is now forbidden in 32-bit mode. (Issue #26). 2014-05-03 10:59:52 +02:00
kobalicekp
2f5fccbf3f Minor - Put assembler/compiler options to a macro.
Dummy - cleanup.
2014-05-03 10:50:04 +02:00
kobalicekp
80730c541a Sanitized source files (spaces / end line marks). 2014-05-03 00:57:16 +02:00
kobalicekp
98b4880141 Fixed Issue #24
Added move information to instruction database that the Compiler can use to make the read/write information of each operand more precise.
2014-05-03 00:55:43 +02:00
kobalicekp
ca1726b0e0 Fixed Issue #25. 2014-04-28 11:11:00 +02:00
kobalicekp
c1d4dd1f63 Minor readme changes. 2014-04-28 11:10:42 +02:00
kobalicekp
b76922fde9 Added basic documentation to README.md. 2014-04-24 02:16:45 +02:00
kobalicekp
70bd453721 Renamed const pool functions to be more descriptive and have less collisions. 2014-04-24 02:13:51 +02:00
kobalicekp
99f50915ec Cosmetic. 2014-04-23 01:02:25 +02:00
kobalicekp
e7e9825065 Added ASMJIT_EMBED support to build.h. 2014-04-23 01:01:56 +02:00
kobalicekp
7869d4e39f Fixed Issue #22 2014-04-22 21:57:17 +02:00
kobalicekp
190d1c1692 Fixed Issue #16. 2014-04-22 00:12:15 +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
eaba64c306 Fixed logger bug when showing embed data. 2014-04-21 02:51:19 +02:00
kobalicekp
316812daf0 Fixes bug #20 2014-04-17 22:03:10 +02:00
kobalicekp
6c50029aa0 Fixed bug in pshufb instruction definition (first reported in Issue #17). 2014-04-16 21:33:50 +02:00
Petr Kobalicek
a33bebe1df Merge pull request #18 from jblume/master
Fix incorrect displacement with bound labels for X64
2014-04-16 21:23:39 +02:00
Johannes Blume
e1aa4741cc Fix incorrect displacement with bound labels for X64 2014-04-16 10:20:47 +02:00
Petr Kobalicek
906f89bfc5 Merge pull request #15 from wjk/typo-fix
Add missing semicolon (mac fix)
2014-04-08 09:33:22 +02:00
William Kent
3acf89eba7 Fix typo 2014-04-07 20:41:10 -04:00
kobalicekp
01998d4dee Assembler - Fixed bug when generating LEA having absolute address. 2014-04-08 01:48:44 +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
kobalicekp
5ac69447dc Fixed Issue #14. 2014-04-03 22:17:41 +02:00
kobalicekp
324df8d6cb Fixed Issue #13. 2014-04-03 22:05:47 +02:00
Petr Kobalicek
2d20d0e471 Merge pull request #12 from krig/minor-linux-fixes
Minor linux fixes
2014-04-03 19:45:45 +02:00
Kristoffer Grönlund
910a30cd1c Fix trailing tokens on #endif 2014-04-02 10:39:21 +02:00
Kristoffer Grönlund
4a684c7fee Fix warning on mismatching If/EndIf 2014-04-02 10:39:02 +02:00
kobalicekp
b4ba6ba2a1 Fixed asmjit bench to use new CpuTicks. 2014-04-01 21:27:06 +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
706cbd6d15 Fixed compilation errors of asmjit::CpuTicks when compiling on Linux. 2014-04-01 20:26:15 +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
Petr Kobalicek
351ef86dbc Merge pull request #11 from kobalicekp/issue9
Fixed CallAlloc to handle save correctly (Issue #9)
2014-03-26 21:19:41 +01:00
kobalicekp
58d46c05c0 Fixed CallAlloc to handle save correctly (Issue #9) 2014-03-25 22:34:27 +01:00
kobalicekp
3fb860e22f Added test that reproduces Issue #9 2014-03-25 19:20:09 +01:00
kobalicekp
29dc9906b2 Added another test trying to exploit issue #9 2014-03-25 10:52:17 +01:00
kobalicekp
048b85019d Documentation fixes. 2014-03-25 01:40:52 +01:00
kobalicekp
c279c9ed7d Fixed dead code elimination.
Fixed wrong xchg instruction encoding under x64 if one of the operand is r8-15 register.
2014-03-25 00:08:58 +01:00
kobalicekp
2bf1af0dde Fixed bug in manual variable spill() and added a test-case for that.
Minor changes in annotations.
2014-03-22 21:28:56 +01: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
3b82708e39 Zone - don't check for NULL chunk, use a Zone_zeroChunk instead and handle it inside zone.cpp instead of zone.h. 2014-03-16 15:31:56 +01:00
kobalicekp
b8e1399f58 Added more tests. 2014-03-12 01:01:46 +01:00
Petr Kobalicek
82378c078b Merge pull request #5 from kirbyfan64/patch-1
Fix clang warnings
2014-03-12 00:59:20 +01:00
kirbyfan64
4349eb5429 Fix clang warnings 2014-03-11 17:44:32 -05:00
kobalicekp
1abb041ecb TestX86 - Added more tests (float / double arguments)
X86Func - Fixed Win64 float arguments handling.
2014-03-06 00:35:06 +01:00
kobalicekp
f77f792cc4 X86Assembler - Minor fixes related to illegal instruction/illegal addressing error handling.
X86Compiler - Always create SArg for every stack-based function argument
X86Compiler - Possible to allocate a register that has to be used to convert variable to function argument.
X86Compiler - ContextID generation moved to context_p.h.
X86Compiler - Support for one variable being used by multiple function-call arguments.
X86Defs - Removed support for 'long double' (buggy, never used).
X86Func - Register arguments have to be converted from Fp32/Fp64 to XmmSs/XmmSd, respectively.
2014-03-05 23:27:28 +01:00
kobalicekp
17c690c5e2 TestX86 - Added 4 more tests.
TestX86 - Added command line parameter "--always-print-log".
X86Context - Added more ASMJIT_CONTEXT_CHECK_STATE checks.
X86Context - Fixed loadState.
X86Context - Fixed switchState.
2014-03-02 15:36:09 +01:00
kobalicekp
5fe81c40c7 Fixed some bugs described in Issue #3
Added more test cases based on Issue #3
Minor changes.
2014-03-01 17:01:54 +01:00
Petr Kobalicek
5072395ceb Merge pull request #2 from kobalicekp/i1
Fixed issue #1
2014-02-24 19:56:41 +01:00
kobalicekp
6f3ad3eb6c Fixed issue #1 2014-02-24 09:25:16 +01:00
kobalicekp
8d2b18ccb0 Minor changes.
Fixed bug when using label as a memory operand.
2014-02-23 23:04:09 +01:00