Commit Graph

360 Commits

Author SHA1 Message Date
Ben Vanik
5b83cf5fd1 Moving around some math macros. 2014-08-16 17:18:20 -07:00
Ben Vanik
54ce9db743 Starting to remove some macros. 2014-08-16 16:57:00 -07:00
Ben Vanik
7c5fa88661 More string swapping and cleaning up main(). 2014-08-16 16:34:13 -07:00
Ben Vanik
a4dfc23abc Working on switching to std::string. 2014-08-16 02:30:23 -07:00
Ben Vanik
48fbefa75e Fixing warnings/bug in NtQueryVirtualMemory. 2014-08-15 22:27:07 -07:00
Ben Vanik
1a39f5bd06 Experimenting with xdb API, starting on compare tool. 2014-08-15 22:02:11 -07:00
Ben Vanik
c275562594 Mostly complete tracing. Probably a lot of bugs. 2014-08-15 22:02:08 -07:00
wszechpolak
50684f8f0d Implemented NtQueryVirtualMemory 2014-08-15 08:14:57 +02:00
Ben Vanik
fa1693d3a3 ADD_CARRY constant prop for load-CA cases. 2014-08-07 13:23:44 -07:00
Ben Vanik
e4485bdab1 Fixing tracing format to match IVM and aligned loads of doubles. 2014-08-07 13:23:25 -07:00
Ben Vanik
31ee323b38 VECTOR_ADD signed/saturate. 2014-08-07 13:22:51 -07:00
Ben Vanik
04a3e53e50 Fixing IVM. 2014-08-06 17:05:15 -07:00
Ben Vanik
6b581bcc75 Simple IC for indirect calls. 2014-08-06 16:31:38 -07:00
Ben Vanik
b02ce5e95e Adding control flow simplification pass to compensate for lack of phi. 2014-08-06 14:19:42 -07:00
Ben Vanik
bba3315f58 Make context promotion pass use bitmaps. 2014-08-06 14:19:07 -07:00
Ben Vanik
71ca8993b9 Constant src1 VectorSHL 2014-08-06 13:07:01 -07:00
Ben Vanik
2de7b6723d Fixed unwind info getting overwritten sometimes. 2014-08-06 11:51:37 -07:00
Ben Vanik
a53ee330ce Marking branches/calls as volatile. 2014-08-06 11:41:37 -07:00
Ben Vanik
646b32ad4f Prevent context promotion across instructions marked volatile. 2014-08-06 11:40:10 -07:00
Ben Vanik
9efd372d92 Reset CFG edge tracking on re-run. 2014-08-06 11:38:36 -07:00
Ben Vanik
b6046b1860 Move cr update to StoreRelease - prevents extra block. 2014-08-06 11:37:54 -07:00
Ben Vanik
5162d69ab2 String buffer using std::vector (and fixing an allocation bug). 2014-08-06 11:37:16 -07:00
Ben Vanik
a085dc547e Fix potential heap corruption in code cache. 2014-08-06 11:36:16 -07:00
Ben Vanik
d8502c2aa9 Trap without fragmenting blocks. 2014-08-06 09:01:36 -07:00
Ben Vanik
19274ef26d Better validation that values aren't moving between blocks. 2014-08-06 09:00:59 -07:00
Ben Vanik
ff59f23de0 VectorRotateLeft for vrl*. 2014-08-05 18:57:34 -07:00
Ben Vanik
333fc71b44 vsubu*m 2014-08-05 15:14:01 -07:00
Ben Vanik
f668dcd56b cr* operations. 2014-08-05 14:59:48 -07:00
Ben Vanik
75eb87f33d Adding VECTOR_SUB for vsub*. 2014-08-05 14:03:49 -07:00
Ben Vanik
07afc58264 Untested VECTOR_SHA 16 variable and VECTOR_SHL 16 variable. 2014-08-05 11:49:59 -07:00
Ben Vanik
810c256f21 Fix register allocator with STORE_LOCAL. May indicate redundant stores. 2014-08-05 11:48:45 -07:00
Ben Vanik
8471408273 lhau(x), fixes #110. 2014-08-04 20:46:14 -07:00
Ben Vanik
a593d940eb std min/max. 2014-08-04 18:54:44 -07:00
Ben Vanik
f0e9fd92a0 VECTOR_MIN and VECTOR_MAX instructions. 2014-08-04 18:54:06 -07:00
Ben Vanik
d56ae60460 More mac fixups. 2014-07-29 20:29:50 -07:00
Ben Vanik
0c5110ac3e Fixing warnings. 2014-07-17 20:52:56 -07:00
Ben Vanik
19b6e90b63 Alloy now builds on clang.
Hopefully not just bouncing back to MSVC failures…
2014-07-17 20:43:30 -07:00
Ben Vanik
ec4f41fec4 Moving byte order/memory access to poly. 2014-07-17 19:20:17 -07:00
Ben Vanik
ce70978ef6 Starting to split up alloy/core.h. 2014-07-14 19:18:42 -07:00
Ben Vanik
e9284dfaed More C++11ification. 2014-07-13 22:28:00 -07:00
Ben Vanik
0a250d5e91 C++11ing some things. 2014-07-13 21:53:31 -07:00
Ben Vanik
29e4c35c38 Removing alloy::tracing, as it's unused. 2014-07-13 21:25:58 -07:00
Ben Vanik
9437d0b564 Sprucing up some of alloy. 2014-07-13 21:15:37 -07:00
Ben Vanik
48425da8ff Sandbox getting close to running. 2014-07-12 22:59:16 -07:00
Ben Vanik
4a0531abc5 Posix code cache. 2014-07-12 22:25:12 -07:00
Ben Vanik
7ee79318e8 Fixing a bunch of alloy clang issues. 2014-07-12 21:52:33 -07:00
Ben Vanik
9b78dd977b Migrating atomic ops to std::atomic where possible and poly. 2014-07-12 17:48:54 -07:00
Ben Vanik
bf882714d0 Cleaning up asserts and file/line macros. 2014-07-12 16:51:52 -07:00
Ben Vanik
1d54342930 Starting to cleanup includes a bit. Still a mess. 2014-07-11 18:03:35 -07:00
Ben Vanik
f24b45a07c Moving threading utils to poly. 2014-07-10 23:51:28 -07:00