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
|
f149a23367
|
XUsbcamCreate stub.
|
2014-08-05 13:06:33 -07:00 |
Ben Vanik
|
b58b7c1783
|
Debug cleanup.
|
2014-08-05 12:51:01 -07:00 |
Ben Vanik
|
31f886d8d9
|
Fixing overallocation of thread stacks (expending heap).
|
2014-08-05 12:05:45 -07:00 |
Ben Vanik
|
1d7b08b85b
|
dlmalloc does not fail when it runs out of memory...
|
2014-08-05 12:05:27 -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
|
2854841753
|
Better XMsg errors.
|
2014-08-05 10:44:55 -07:00 |
Ben Vanik
|
86241d0ae8
|
XNetCleanup/XNetRandom stubs.
|
2014-08-05 10:12:15 -07:00 |
Ben Vanik
|
3150f41ea0
|
oh ffs - properly suspending threads on creation.
|
2014-08-05 09:10:00 -07:00 |
Ben Vanik
|
2d4ae9ba64
|
XAudioEnableDucker
|
2014-08-04 22:02:28 -07:00 |
Ben Vanik
|
4e276695bf
|
XamUserGetDeviceContext
|
2014-08-04 22:02:19 -07:00 |
Ben Vanik
|
8460afadd3
|
RtlUnicodeStringToAnsiString
|
2014-08-04 21:54:09 -07:00 |
Ben Vanik
|
8471408273
|
lhau(x), fixes #110.
|
2014-08-04 20:46:14 -07:00 |
Ben Vanik
|
64d8ee386b
|
XamShowMessageBoxUI (that auto-advances).
|
2014-08-04 20:24:08 -07:00 |
Ben Vanik
|
66d2a8aec2
|
Setting XMA pointer to make errors clearer.
|
2014-08-04 18:55:00 -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
|
e6275691cb
|
KeEnableFpuExceptions stub.
|
2014-08-04 15:46:52 -07:00 |
Ben Vanik
|
296bb5c87a
|
Dummy IRQL stuff to silence warnings.
|
2014-08-04 15:39:42 -07:00 |
Ben Vanik
|
fd95858516
|
XamUserCheckPrivilege
|
2014-08-04 15:01:39 -07:00 |
Ben Vanik
|
a98b9458b6
|
Adding XamVoice stubs.
|
2014-08-04 14:56:34 -07:00 |
Ben Vanik
|
35885f761c
|
Misc fixes (overlapped IO, etc).
|
2014-08-03 22:25:38 -07:00 |
Ben Vanik
|
0a9d936f1e
|
Better faking of the user profile.
|
2014-08-03 21:26:10 -07:00 |
Ben Vanik
|
57dda9c755
|
Factoring out XMsg app stuff.
|
2014-08-03 14:38:04 -07:00 |
Ben Vanik
|
19149bbba6
|
Stubbed out enumeration.
|
2014-08-02 21:37:11 -07:00 |
Ben Vanik
|
f04c7b8661
|
ExAllocatePoolTypeWithTag
|
2014-08-02 16:23:02 -07:00 |
Ben Vanik
|
3f2baafb4b
|
mmap, but ehh virtualquery...
|
2014-08-01 21:43:52 -07:00 |
Ben Vanik
|
4ad7662ef7
|
Fixing MMIO build on Windows.
|
2014-08-01 20:29:57 -07:00 |
Ben Vanik
|
12f734d7a0
|
VC++ has std::make_unique.
|
2014-08-01 20:28:52 -07:00 |
Ben Vanik
|
4beaacb622
|
Fixing build on linux.
|
2014-07-31 21:56:51 -07:00 |
Ben Vanik
|
0129a96225
|
Cross-platformizing MMIO stuff.
MSVC build likely needs some fixes.
|
2014-07-29 22:12:39 -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
|
8a6807bd92
|
Fixing linter to work on Windows (ironically, by breaking it).
|
2014-07-11 18:43:35 -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
|
6b197c4c92
|
Removing the debugger and dependencies. Needs rethinking.
|
2014-07-09 21:21:40 -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
|
0950e9f53c
|
Calm some games down that hammer XMPGetStatus.
|
2014-07-08 16:02:42 -07:00 |
Ben Vanik
|
eb7987a634
|
Setting default output values for pixel shaders.
|
2014-07-08 16:02:42 -07:00 |
Ben Vanik
|
2a68a1b35b
|
Special casing some VC++ traps.
|
2014-07-08 16:02:41 -07:00 |
Ben Vanik
|
a5627ee25a
|
Hide lock logging.
|
2014-07-03 12:59:08 -07:00 |
Ben Vanik
|
824d3c246f
|
Prevent null/broken shaders from dying in d3dcompiler.
|
2014-07-03 12:58:56 -07:00 |
Ben Vanik
|
3b853f6201
|
WSAStartup tweak.
|
2014-07-03 12:58:27 -07:00 |
Ben Vanik
|
a0cb341662
|
Trying really hard to keep games from spinning up networking.
|
2014-07-02 21:57:21 -07:00 |
Ben Vanik
|
d5f27dbf34
|
Better arg passing for Execute and experimenting with APCs.
|
2014-07-02 15:39:49 -07:00 |
Fire30
|
15be1061d3
|
Fixed arguments for NetDll_send.
|
2014-07-02 18:17:09 -04:00 |
tj
|
13b3fa6f84
|
Fixed typo in NetDll_setsockopt logging.
|
2014-06-24 00:38:14 -04:00 |
Ben Vanik
|
4009eb1cd8
|
Fail out of XamContentCreateEnumerator.
|
2014-06-22 21:19:48 -07:00 |
Ben Vanik
|
9905380bd0
|
Steal one page of physical heap - this helps catch virt underflows.
|
2014-06-22 21:09:33 -07:00 |
Ben Vanik
|
7b98c748fa
|
Fixing double allocation of memory x_x
|
2014-06-22 21:03:41 -07:00 |
Ben Vanik
|
71eb408d67
|
Various fiddlings.
|
2014-06-22 19:41:26 -07:00 |
Ben Vanik
|
a5448b1296
|
Fixing pack float16.
|
2014-06-20 20:48:02 -07:00 |
Ben Vanik
|
da590bd9cc
|
Disable logging for TlsGetValue.
|
2014-06-20 20:44:53 -07:00 |
Ben Vanik
|
7936fa2dbd
|
Fix constants in pixel shaders.
|
2014-06-20 20:44:39 -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
|
3845437276
|
Fix assert to allow 16 fetchers.
|
2014-06-10 21:06:36 -07:00 |
Ben Vanik
|
829b4f67bf
|
ReadFile EOF.
|
2014-06-10 20:40:11 -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
|
43a3b4f3c0
|
Support constant value movs to mmio memory.
|
2014-06-08 22:21:23 -07:00 |
Ben Vanik
|
264fc7cc91
|
Fix assert.
|
2014-06-08 22:21:05 -07:00 |
Ben Vanik
|
6e76c169d6
|
Proper(ish) VdSwap - fixes a bunch of things.
Caching is working a bit better, now.
|
2014-06-08 21:24:29 -07:00 |
Ben Vanik
|
8337820500
|
Fiddling with interrupt triggering - still not right.
|
2014-06-08 11:59:57 -07:00 |
Ben Vanik
|
daa8a24173
|
Caching states.
|
2014-06-08 11:51:53 -07:00 |
Ben Vanik
|
6514eaa780
|
Disabling paged resource caching for now, as it's broken.
|
2014-06-08 11:25:10 -07:00 |
Ben Vanik
|
295910c3d8
|
Initial refactoring of gpu/.
Runs too fast - now there are ringbuffer wrapping issues.
|
2014-06-08 11:23:55 -07:00 |
Ben Vanik
|
4072640a64
|
Skeleton of new shared GPU files.
|
2014-06-02 19:24:33 -07:00 |
Ben Vanik
|
beb5ee40ee
|
Dirty page table. Not yet used.
|
2014-06-02 07:49:45 -07:00 |
Ben Vanik
|
ddbebcda6c
|
Cleanup memory.
|
2014-06-02 07:11:27 -07:00 |
Ben Vanik
|
0e3854555d
|
Pure dynamic MMIO access. Prep for more complex GPU memory management.
|
2014-06-01 23:36:18 -07:00 |
Ben Vanik
|
3a8065b7b1
|
Vertex buffer caching.
Doesn't help, though, as buffers are weird. Need to rethink all of this.
|
2014-06-01 09:42:07 -07:00 |
Ben Vanik
|
2d173ea62b
|
Caching index buffers.
|
2014-05-31 22:26:39 -07:00 |
Ben Vanik
|
19c48c7a90
|
Partial texture cache - doesn't invalidate yet.
|
2014-05-31 17:38:32 -07:00 |
Ben Vanik
|
529a1478d8
|
Sampler state caching.
|
2014-05-31 16:34:05 -07:00 |
Ben Vanik
|
6607606b15
|
Moving texture code into shared/separate files. Leaking a lot.
|
2014-05-31 15:42:21 -07:00 |
Ben Vanik
|
e42460039f
|
Untested PACK float16_2/_4.
|
2014-05-31 11:23:10 -07:00 |
Ben Vanik
|
8be043fbd4
|
Merge pull request #86 from hlide/master
EXTRACT_I8, EXTRACT_I16, EXTRACT_I32, EXTRACT_F32: properly modified the...
|
2014-05-31 08:19:03 -07:00 |
hlide
|
0598df1d9e
|
Removed weird symbols in x64_sequences.cc
|
2014-05-31 17:14:40 +02:00 |
Ben Vanik
|
e45fc3dc56
|
Reducing profiling forced swap frequency.
|
2014-05-31 08:13:13 -07:00 |
Ben Vanik
|
430d827770
|
Like, really fixing SELECT. Frogger now runs ^_^
|
2014-05-31 08:06:04 -07:00 |
hlide
|
8525cf739e
|
Update x64_sequences.cc
|
2014-05-31 16:51:15 +02:00 |
hlide
|
334f744fb8
|
EXTRACT_I8, EXTRACT_I16, EXTRACT_I32, EXTRACT_F32: properly modified the code in comments
|
2014-05-31 14:23:22 +02:00 |
Ben Vanik
|
002aaab77d
|
Fixing VECTOR_COMPARE_SGE.
|
2014-05-30 22:36:06 -07:00 |
Ben Vanik
|
df5d86e78c
|
Tweaking load/store. Nasty.
|
2014-05-30 22:29:08 -07:00 |
Ben Vanik
|
7acbf759e2
|
Fixing UNPACK D3DCOLOR. Probably.
|
2014-05-30 21:38:33 -07:00 |
Ben Vanik
|
0b42c72ec5
|
Fixing const propagated DID_CARRY.
|
2014-05-30 20:09:00 -07:00 |
Ben Vanik
|
d65b5801f8
|
Adding hlide's comments for EXTRACT - need to implement/test.
|
2014-05-30 14:02:15 -07:00 |
Ben Vanik
|
691a3d4ade
|
Fixing EXTRACT.
|
2014-05-30 14:01:52 -07:00 |
Ben Vanik
|
1729c8ce6d
|
Constant MIN/MAX.
|
2014-05-30 14:00:28 -07:00 |
Ben Vanik
|
8ba95efdce
|
Fixing mulx usage.
|
2014-05-30 12:41:48 -07:00 |
Ben Vanik
|
6c92e6a5c5
|
Increasing microprofile stack size, as some of these trees are deep.
|
2014-05-30 11:44:24 -07:00 |
Ben Vanik
|
0267efa5cc
|
Always swapping the graphics system so that we see the profiler update.
|
2014-05-30 06:50:07 -07:00 |
Ben Vanik
|
0c55309826
|
Fixing COMPARE and tweaking ABS/NEG.
|
2014-05-29 23:11:00 -07:00 |
Ben Vanik
|
328ece538a
|
Fixing disabled profiling.
|
2014-05-28 21:46:43 -07:00 |
Ben Vanik
|
997f582d1f
|
Removing useless counters.
|
2014-05-28 20:32:50 -07:00 |
Ben Vanik
|
18b1f9f513
|
Fixing controller input.
|
2014-05-28 20:19:28 -07:00 |
Ben Vanik
|
c06526e5df
|
Backpatch function addresses.
|
2014-05-28 20:02:40 -07:00 |
Ben Vanik
|
c1812406f5
|
Adding a bunch of profiling tracers.
|
2014-05-28 19:19:39 -07:00 |
Ben Vanik
|
beb9bd11f0
|
Microprofile integration.
|
2014-05-28 13:59:43 -07:00 |
Ben Vanik
|
6486e0a48e
|
Profiler skeleton.
|
2014-05-27 22:54:40 -07:00 |
Ben Vanik
|
2ef6545927
|
Trap sometimes called.
|
2014-05-27 19:35:52 -07:00 |
Ben Vanik
|
ca22010502
|
Adding memory snooping for mmio accesses. Yuck.
|
2014-05-27 19:33:16 -07:00 |
Ben Vanik
|
192941eeb0
|
PACK D3DCOLOR.
|
2014-05-27 16:23:46 -07:00 |
Ben Vanik
|
edf282abdc
|
Disabling logging.
|
2014-05-27 15:26:16 -07:00 |
Ben Vanik
|
b0034f3b4d
|
Fix cntlz.
|
2014-05-27 15:15:52 -07:00 |
Ben Vanik
|
2856d38024
|
Fixing some instructions.
|
2014-05-27 14:31:19 -07:00 |
Ben Vanik
|
5436cde0fc
|
Saturating unsigned VECTOR_ADD.
|
2014-05-27 14:27:07 -07:00 |
Ben Vanik
|
8619a15ee3
|
Emulated POW2/LOG2. Can probably be faked with polynomials.
|
2014-05-27 13:25:22 -07:00 |
Ben Vanik
|
0612a68f80
|
Fixing encoding of vpextr*.
|
2014-05-27 13:02:38 -07:00 |
Ben Vanik
|
87f8a4bb25
|
vector_add.
|
2014-05-27 13:02:23 -07:00 |
Ben Vanik
|
e32342e956
|
Variable vector_shl int8.
|
2014-05-27 13:02:00 -07:00 |
Ben Vanik
|
7635bb71a0
|
Constant permute.
|
2014-05-27 12:03:40 -07:00 |