Commit Graph

975 Commits

Author SHA1 Message Date
Ben Vanik efb2b6f037 Fixing disasm of XO. 2014-01-31 22:54:50 -08:00
Ben Vanik 7141fbad27 Ignoring comment on fall-through for now, as all imports cause it. 2014-01-31 22:51:40 -08:00
Ben Vanik 6ed411a08d Fixing printing of floats. 2014-01-31 22:51:18 -08:00
Ben Vanik 458368c35e Fixing IVM SUB bug. 2014-01-31 22:51:04 -08:00
Ben Vanik 009a6d0745 Hacking together proper stack saving. Can't get >128b frames working. 2014-01-31 22:16:05 -08:00
Ben Vanik f85b83709e Refactoring of function types. Also fixes some library import bugs. 2014-01-30 00:22:55 -08:00
Ben Vanik bdee924494 Various fixes. 2014-01-28 23:51:40 -08:00
Ben Vanik 0ec8e32861 Removing stack padding. Still broken even with it. 2014-01-28 23:22:10 -08:00
Ben Vanik 949b1a2220 Adding dynamic access checks. Eww. 2014-01-28 23:21:55 -08:00
Ben Vanik 53d4cbf2c5 Messing with flags. subficx sometimes still wrong. 2014-01-28 22:49:51 -08:00
Ben Vanik 62ced2742e Handling unimplemented externs. 2014-01-28 22:11:33 -08:00
Ben Vanik 8cddfcbf19 More SSE work. 2014-01-28 22:06:45 -08:00
Ben Vanik b2e9086932 Reserving volatile XMM registers (so long as we are calling tracers). 2014-01-28 20:39:44 -08:00
Ben Vanik e5cf47a0d8 More SSE work. 2014-01-28 20:33:13 -08:00
Ben Vanik ac4360913f Fixing typo in logging. 2014-01-28 13:56:30 -08:00
Ben Vanik 0ff1fe93af Disabling logging. 2014-01-28 10:46:40 -08:00
Ben Vanik 465c3a41dd Hacking. 2014-01-28 00:19:05 -08:00
Ben Vanik 5421108b9e Bad dp checks. 2014-01-27 23:00:26 -08:00
Ben Vanik 0908891bb2 v128 tracing. 2014-01-27 22:56:56 -08:00
Ben Vanik 5b2e44b0e8 Cleaning up some constant handling. 2014-01-27 22:47:37 -08:00
Ben Vanik d67f786af8 Some binary xmm ops. 2014-01-27 22:18:44 -08:00
Ben Vanik da36baba8d Fixing 64-bit mov encoding. *shakes fist at xbyak for silently coercing* 2014-01-27 21:32:58 -08:00
Ben Vanik 8894a0f86e Fixing tracer formats. 2014-01-27 21:32:20 -08:00
Ben Vanik 01c1dd6417 Fixing unpack type. 2014-01-27 21:03:17 -08:00
Ben Vanik 9b45e6f2dc Tracers in x64, almost matching ivm. 2014-01-27 20:50:45 -08:00
Ben Vanik 58c0ea9ac7 Fixing bad vector compare. 2014-01-27 09:25:48 -08:00
Ben Vanik 6c7e392088 Fixing xmm unary ops. 2014-01-26 22:57:39 -08:00
Ben Vanik c828e5416e Starting on some unary xmm opcodes. 2014-01-26 22:47:15 -08:00
Ben Vanik 234aa4f543 Some parts of vector comparison. 2014-01-26 22:25:28 -08:00
Ben Vanik 6c6f10ad48 Moving op templates to op_utils.inl. 2014-01-26 21:40:25 -08:00
Ben Vanik ae6c903173 Reformating lambdas to make vs happier. 2014-01-26 21:34:46 -08:00
Ben Vanik 6e35b6efa3 Renaming op utils. 2014-01-26 21:30:34 -08:00
Ben Vanik ed4efccc30 Fleshing out skeletons for most sequences. 2014-01-26 21:27:45 -08:00
Ben Vanik 1988edfd55 Cleaning up a bit in prep for float/vec. 2014-01-26 21:04:30 -08:00
Ben Vanik 1518523651 Untested code for static register load/stores. 2014-01-26 18:51:56 -08:00
Ben Vanik 638afa686c Skeleton for PACK/UNPACK. 2014-01-26 18:21:12 -08:00
Ben Vanik 672a4fd504 LOAD_CLOCK. 2014-01-26 18:20:59 -08:00
Ben Vanik e785e31a6f Disabling context prop pass until register spilling is implemented. 2014-01-26 17:52:45 -08:00
Ben Vanik d323e6d3ec Indirect calls and fixing v128 const loads. 2014-01-26 17:52:32 -08:00
Ben Vanik 0123b63aa2 Adding (somewhat) ivm compatible ctx load/store tracing. 2014-01-26 17:42:03 -08:00
Ben Vanik 638d9631af Fixing register allocation bug. 2014-01-26 17:38:40 -08:00
Ben Vanik f55fb17e1b MUL/MUL_HI/DIV 2014-01-26 16:09:25 -08:00
Ben Vanik ebaf8aa16d Fixing extends. Xbyak doesn't have good validation, so expecting more :( 2014-01-26 15:46:10 -08:00
Ben Vanik e52a7bc3af Fixing things, breaking others. 2014-01-26 15:10:39 -08:00
Ben Vanik 122761835e Adding new instructions and cleaning things up a bit. 2014-01-26 12:14:29 -08:00
Ben Vanik bbf3b4bdab Fixing tail calls. 2014-01-26 11:45:58 -08:00
Ben Vanik aadf92e4ea 'Fixing' register clobbering by disabling a bunch of nonvolatile regs. 2014-01-26 11:18:12 -08:00
Ben Vanik ac59b61851 Fixing register eviction. 2014-01-26 11:17:53 -08:00
Ben Vanik 5eeeee7093 Fixing jumps. 2014-01-26 11:17:12 -08:00
Ben Vanik 7fe0a10d43 Adding back --break_on_instruction. 2014-01-26 11:16:55 -08:00
Ben Vanik 3e52a99adf Fiddling with stack. Still wrong. 2014-01-26 04:34:29 -08:00
Ben Vanik 495edda8d8 Logging comments like IVM. 2014-01-26 04:01:51 -08:00
Ben Vanik 51ae8299d9 Fixing stack size. 2014-01-26 03:54:50 -08:00
Ben Vanik 20c8eb1561 Making debug disassembly look a bit better. 2014-01-26 03:24:55 -08:00
Ben Vanik cb352c6c86 Fancy templated helpers. 2014-01-26 03:17:03 -08:00
Ben Vanik ecf0988ddb Removing SET_RETURN_ADDRESS - hopefully it'll never be needed again. 2014-01-26 01:18:59 -08:00
Ben Vanik 8789fd4134 Heuristically detecting ret - probably breaks some things. 2014-01-26 01:09:25 -08:00
Ben Vanik c74f35552a (air quotes) "register allocation" without spills. 2014-01-25 23:36:59 -08:00
Ben Vanik c4d6c7a526 Reducing value count. IVM could take advantage of this. 2014-01-25 22:47:21 -08:00
Ben Vanik 05432242ff Removing block continuation branches. 2014-01-25 21:35:59 -08:00
Ben Vanik f438fa980d Fixing source offsets. 2014-01-25 21:32:30 -08:00
Ben Vanik 0cca23cdd7 Source map in DebugInfo. IVM needs to port its stuff over eventually. 2014-01-25 21:20:28 -08:00
Ben Vanik 4609339c5a JIT hackery. Not quite working. 2014-01-25 20:30:41 -08:00
gibbed 93d61d02d7 Note about DXGI_FORMAT_B4G4R4A4_UNORM being Windows 8 only. 2014-01-25 06:15:02 -08:00
gibbed 2f8f893977 Don't need to create the mastering voice with with an explicit number of channels or sample rate. 2014-01-25 04:50:47 -08:00
gibbed 47c71d702a Audio system overhaul for support of multiple audio drivers. 2014-01-25 03:18:22 -08:00
Ben Vanik bbe50cfe26 Disabling x64 backend. 2014-01-24 23:34:18 -08:00
gibbed b6c831c7ec Wait for graphics driver to complete initialization before continuing. 2014-01-24 23:00:05 -08:00
Ben Vanik 8ae6053d0f Deleting LIR and such, wiring up for HIR->x64. 2014-01-24 22:26:15 -08:00
gibbed 764d0b89f5 Fixed fetching of non-tiled textures that don't have a pitch that is a multiple of 256 bytes. 2014-01-24 11:09:38 -08:00
gibbed 7dc8a5931f Quick hack fix for vsldoi128. 2014-01-24 10:01:45 -08:00
gibbed c6642331fa Small cleanup. 2014-01-24 03:42:07 -08:00
gibbed 1ac84cf255 VECB16, VECS8, VECI4, VECF4 macros. 2014-01-24 03:39:10 -08:00
gibbed 3a7aaadbd8 TextureSwap now swaps XE_GPU_ENDIAN_8IN32. 2014-01-24 00:06:10 -08:00
gibbed 855173b2bd Probably broke everything. 2014-01-24 00:00:20 -08:00
Ben Vanik dfbbefa97f Asserting byte swapped vbs. 2014-01-23 23:58:23 -08:00
Ben Vanik 53b9ed5214 Simplifying disassembler. Much faster than before. 2014-01-23 20:31:27 -08:00
Ben Vanik f36e6cd820 Removing JSON dumps. 2014-01-23 20:31:26 -08:00
Ben Vanik f93a21884c Moving descriptions to instr table, part of issue #51. 2014-01-23 20:31:26 -08:00
gibbed 44847e9042 Moved QueryVolume and QueryFileSystemAttributes to Device from Entry. 2014-01-23 11:23:26 -08:00
gibbed bcf75a1b98 NtQueryVolumeInformationFile. 2014-01-22 17:55:23 -08:00
gibbed 6671908375 QueryVolume, QueryFileSystemAttributes stubs with accompanying XVolumeInfo and XFileSystemAttributeInfo. Needs further improvement. 2014-01-22 17:54:10 -08:00
gibbed 61093245a5 Gah. 2014-01-22 09:47:43 -08:00
gibbed 4aeb978d89 FMT_1_5_5_5. 2014-01-22 09:45:57 -08:00
gibbed 4b70b578fd Removed hack from XE_GPU_ENDIAN_8IN16. 2014-01-22 09:45:33 -08:00
Ben Vanik 489154e548 Ignore requests for kernel32.dll 2014-01-21 21:03:27 -08:00
Ben Vanik b6d7ccfb03 Adding an ExConfig setting. 2014-01-21 20:09:39 -08:00
gibbed 302111afbf Fixed writing of too much data. 2014-01-21 19:09:07 -08:00
gibbed 1091c171b2 Maybe this will work? 2014-01-21 18:53:35 -08:00
gibbed d1005e1a34 XamShowDeviceSelectorUI. Pretends success. Probably bad, but it'll do for now. 2014-01-21 18:19:50 -08:00
gibbed a9dfe13799 Further improvements to FetchTexture2D. 2014-01-21 18:19:50 -08:00
Ben Vanik 58db76c42c Pay no attention to the man behind the curtains. 2014-01-21 18:14:36 -08:00
Ben Vanik 1316e79a2f Fixing missing field. 2014-01-21 18:12:18 -08:00
Ben Vanik 7d8aaaaea7 Texture wrapping modes. 2014-01-21 08:31:25 -08:00
gibbed 3a2c2beca4 Not sure if this is correct, seems to work. 2014-01-21 02:36:24 -08:00
gibbed 801758fc2f Oops. 2014-01-21 01:54:54 -08:00
gibbed 01b00118d4 Further improvements to FetchTexture2D. 2014-01-21 01:54:34 -08:00
gibbed efa7199974 XE_GPU_SWIZZLE_000R. 2014-01-21 01:51:56 -08:00
gibbed 9507960829 Oops. Don't need that. 2014-01-21 00:51:56 -08:00
gibbed d75f4989a8 - Tiled texture support (largely untested).
- Maybe fixed FMT_8.
- Improved swapping of source texture data.
2014-01-21 00:50:18 -08:00