Ben Vanik
16bac6d9c5
Constant support for a lot of vector ops.
2014-05-27 11:56:55 -07:00
Ben Vanik
efa0565398
Fixing permute.
2014-05-27 07:53:19 -07:00
Ben Vanik
5a85263e5f
Trying out a new style of JIT pattern matching.
2014-05-26 20:28:21 -07:00
Ben Vanik
a001714fb0
Adding lock to stdout logging. Disable with --fast_stdout.
...
Fixes #78 .
2014-05-21 11:24:44 -07:00
Ben Vanik
1bb0b08a14
Fixing WIN32 build.
2014-05-21 10:38:41 -07:00
Ben Vanik
ced1d799ca
Merge pull request #83 from inolen/macosx
...
misc build fixes for compiling with clang
2014-05-21 10:15:10 -07:00
Anthony Pesch
1a4355a36b
implemented xerotl to replace win32 specific _rotl usage
2014-05-14 00:39:50 -07:00
Anthony Pesch
f01609c5aa
replace usage of itoa with snprintf
2014-05-14 00:39:47 -07:00
Anthony Pesch
68e5833647
use getpagesize on non-win32 platforms
2014-05-14 00:36:05 -07:00
Anthony Pesch
0e6c47aac5
use custom __m128 struct on non-win32 platforms to provide element-wise access
...
explicitly cast param for set_constant to correctly resolve overloaded function
2014-05-14 00:36:05 -07:00
Anthony Pesch
c6cdf1f672
nest X64Function in its own block to avoid clang errors related to goto usage
2014-05-14 00:36:05 -07:00
Anthony Pesch
60a7e79e1a
assume c++11
...
clang didn't like static members in anonymous structures, gave them names
WriteEvent template wouldn't resolve for temporary values without const decl in clang
added a few missing headers
added -fno-operator-names for xbyak compilation under gcc/clang
2014-05-14 00:35:21 -07:00
Ben Vanik
482ffb053a
Merge pull request #76 from shuffle2/fix-GetLogicalProcessorInformation
...
Fix spelling of GetLogicalProcessorInformation in GetProcAddress call
2014-03-28 21:59:36 -07:00
Shawn Hoffman
1e196df4b3
Fix spelling of GetLogicalProcessorInformation in GetProcAddress call - spelling actually matters here.
2014-03-28 21:48:20 -07:00
Ben Vanik
9a2d99d652
Fixing CFA.
2014-03-28 20:39:21 -07:00
Ben Vanik
24fc5acb07
Partially implemented Windows keyboard HID for testing.
2014-02-23 16:36:17 -08:00
Ben Vanik
86f66c4ab7
So few (faked) registers seems to break some things.
2014-02-15 15:49:41 -08:00
Ben Vanik
b2f886be98
Fixing more x64 stuff.
2014-02-10 23:48:41 -08:00
Ben Vanik
74c9df6697
Re-enabling x64 backend, fixing many bugs.
2014-02-10 23:24:46 -08:00
Ben Vanik
4a584129d2
A probably-working register allocator.
2014-02-10 21:16:38 -08:00
Ben Vanik
6bd214af0b
Adding a shared scratch arena for compiler passes.
2014-02-08 22:01:51 -08:00
Ben Vanik
e6f3716d87
Disabling x64 backend for now, as it's rubbish.
2014-02-08 22:01:26 -08:00
Ben Vanik
e36e1acc1a
TLS access is slow.
2014-02-08 22:00:53 -08:00
Ben Vanik
2403f367b1
MachineInfo
2014-02-08 22:00:21 -08:00
Ben Vanik
ee69696485
Hiding some D3D11 log spew.
2014-02-06 22:18:44 -08:00
Ben Vanik
6199e9f7b5
Vector constant support.
2014-02-06 22:18:30 -08:00
Ben Vanik
c5b70e615f
Fixing div.
2014-02-06 22:18:15 -08:00
Ben Vanik
5309356908
Fixing tail calls in the jit.
2014-02-06 21:53:31 -08:00
Ben Vanik
0d88e83daa
Avoiding function lookup for compiled functions. Still need caching.
2014-02-02 14:41:57 -08:00
Ben Vanik
ef5f59ed0b
I seem to relearn blr != return once every month or so.
2014-02-02 14:35:16 -08:00
Ben Vanik
2d65bea0ea
Fix warning.
2014-02-02 13:34:03 -08:00
Ben Vanik
05387b4996
Fixing type mismatches.
2014-02-02 13:10:24 -08:00
Ben Vanik
bc54fc1ae8
UNPACK D3DCOLOR and EXTRACT INT32 variable.
2014-02-02 13:04:42 -08:00
Ben Vanik
544d453691
Stack fixes.
2014-02-02 12:28:40 -08:00
Ben Vanik
e5e490ca9b
AVX1+ required. I'm sure I'm using AVX2 instructions now, though.
2014-02-02 11:25:00 -08:00
Ben Vanik
14d6855b6d
PERMUTE by V128 and fixing some ops.
2014-02-02 11:23:03 -08:00
Ben Vanik
44c29a6691
Possibly working LOAD_VECTOR_SHL/SHR.
2014-02-02 02:18:59 -08:00
Ben Vanik
ae02dc7eba
Fixing rdx clobber from mul/div.
2014-02-02 01:51:38 -08:00
Ben Vanik
bca349b302
Oh my. Basic CFA/DFA, local variable support, misc fixes, etc.
2014-02-02 00:33:57 -08:00
Ben Vanik
b29276e167
Reserve address cleanup.
2014-02-01 01:13:23 -08:00
Ben Vanik
91a43a0ab6
Fixing broken temp reg.
2014-02-01 01:13:05 -08:00
Ben Vanik
b1ab2fb0a7
That was a terrible idea. Let us never speak of it again.
2014-02-01 00:41:36 -08:00
Ben Vanik
f524693dbb
Unswapping IVM register accesses.
2014-02-01 00:20:45 -08:00
Ben Vanik
68b5a0979e
Logging undefined extern calls.
2014-02-01 00:12:36 -08:00
Ben Vanik
f4d0eb03bc
Fixing 64bit fneg.
2014-02-01 00:08:26 -08:00
Ben Vanik
6eef76374d
Fix CNTLZ with 0.
2014-02-01 00:05:53 -08:00
Ben Vanik
50cb12634e
Fixed rax clobber on mul/div.
2014-02-01 00:05:38 -08:00
Ben Vanik
10c9537836
Swapping register values.
2014-02-01 00:05:21 -08:00
Ben Vanik
7044b74dc2
Fixing register value overwriting in address calculation.
2014-01-31 23:33:32 -08:00
Ben Vanik
e63fbcc2cd
Fixing sub w/ SET_CARRY.
2014-01-31 23:16:38 -08:00