Commit Graph

439 Commits

Author SHA1 Message Date
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
Ben Vanik
9031d5f4a4 Fix clang warnings / move some plat code into poly. 2014-07-10 22:51:27 -07:00
Ben Vanik
7daa85179c Running clang-format on alloy.
All except x64_sequences, which needs work.
2014-07-10 20:20:00 -07:00
Ben Vanik
868803e03a Fixing file header. 2014-07-09 22:31:14 -07:00
Ben Vanik
c5f114018e Replacing alloy::Mutex with std::mutex. 2014-07-09 22:28:51 -07:00
Ben Vanik
500647968c Prepping poly. 2014-07-09 22:05:41 -07:00
Ben Vanik
fd2a1f85a6 Fixing #105 enough to get the games moving along. 2014-07-08 21:47:31 -07:00
Ben Vanik
deaf8308fc More UNPACK forms - likely right. 2014-07-08 20:52:12 -07:00
Ben Vanik
2a68a1b35b Special casing some VC++ traps. 2014-07-08 16:02:41 -07:00
Ben Vanik
7b98c748fa Fixing double allocation of memory x_x 2014-06-22 21:03:41 -07:00
Ben Vanik
a5448b1296 Fixing pack float16. 2014-06-20 20:48:02 -07:00
Ben Vanik
45e149d00b Possibly correct variable EXTRACT_I16. 2014-06-10 21:38:33 -07:00
Ben Vanik
02709e0d65 Optimize EXTRACT_I32(0). 2014-06-10 21:38:17 -07:00
Ben Vanik
4089f405af PACK FLOAT16 seems correct. 2014-06-10 21:36:13 -07:00
Ben Vanik
713cfcb429 Possibly correct FLOAT16 unpack. 2014-06-10 21:35:50 -07:00
Ben Vanik
574a04a853 Preventing emulated instructions from stomping the xmm registers. 2014-06-10 21:33:58 -07:00
Ben Vanik
ff8c03046a VECTOR_COMPARE_UGT/UGE (probably). 2014-06-09 21:29:35 -07:00
Ben Vanik
289075d052 Constant D3DCOLOR UNPACK. Could optimize earlier. 2014-06-09 21:29:15 -07:00
Ben Vanik
5343cab851 Support constant CALL_INDIRECT. 2014-06-09 21:15:13 -07:00
Ben Vanik
95508273f6 Misc experimentation. 2014-06-08 23:11:09 -07:00
Ben Vanik
052dca5010 Const src1 permute. 2014-06-08 22:21:38 -07:00
Ben Vanik
beb5ee40ee Dirty page table. Not yet used. 2014-06-02 07:49:45 -07:00