Commit Graph

597 Commits

Author SHA1 Message Date
Ben Vanik 2cb5c97052 GDB debug protocol that IDA can connect to.
Unfortunately, IDA sucks, and this likely won't ever work right.
2013-12-17 10:20:07 -08:00
Ben Vanik b5f5668f6d Sockets implementation for Windows, WebSockets client now working. 2013-12-16 22:43:03 -08:00
Ben Vanik d548e7f770 Starting revival of debugger system. Work on #41. 2013-12-16 20:28:58 -08:00
Ben Vanik c17122e022 Using raw addresses for gpu writeback. 2013-12-15 15:32:06 -08:00
Ben Vanik f9cd87811d Some games seem to write to 0x0... damn. 2013-12-15 15:31:32 -08:00
Ben Vanik 9fdacebf2d Better handling of undefined imports. 2013-12-15 15:26:12 -08:00
Ben Vanik f2348301ea More aggressive constant propagation pass. 2013-12-15 14:40:18 -08:00
Ben Vanik 769b8d59d9 Fixing some constant checks. 2013-12-15 14:34:57 -08:00
Ben Vanik 84651623a5 Removing BranchIf. 2013-12-15 14:34:41 -08:00
Ben Vanik 417a970aab Various fixes. 2013-12-15 13:58:40 -08:00
Ben Vanik 1d0ed4882d Constant type fixes. 2013-12-15 12:09:28 -08:00
Ben Vanik 88cdb9e36c Replacing store vector left/right opcodes by just using permutes. 2013-12-15 11:58:54 -08:00
Ben Vanik a44551c418 Fixing some copy/paste errors. Sigh. 2013-12-14 15:47:45 -08:00
Ben Vanik 52ff9bdfd0 Fixing swizzle. 2013-12-14 15:47:32 -08:00
Ben Vanik 1fb8650f6d Fixing I2F. 2013-12-14 14:41:45 -08:00
Ben Vanik 8af24ab9bb Fixing vrlimi128 2013-12-14 09:27:34 -08:00
Ben Vanik c9adf893a6 Fixing a bunch of vector ops. 2013-12-14 08:47:36 -08:00
Ben Vanik 7ebdd3f7e0 Fixing vectors. 2013-12-14 07:17:33 -08:00
Ben Vanik 21d1e7236b Fixing permute functions. 2013-12-14 06:24:29 -08:00
Ben Vanik a1f41c656a stve*x 2013-12-13 22:24:19 -08:00
Ben Vanik d1210218ac Comment fixes. 2013-12-13 21:20:01 -08:00
Ben Vanik 69704853a3 Special casing sldi. 2013-12-13 20:11:04 -08:00
Ben Vanik 24ce893256 Fixing ROTL macro. 2013-12-13 20:10:56 -08:00
Ben Vanik 689de0279f Swapping bytes. Probably still wrong. 2013-12-08 23:33:40 -08:00
Ben Vanik eb2d596c27 srawx, vsldoi, vupkd3d of D3DCOLOR -- all untested 2013-12-08 23:15:05 -08:00
Ben Vanik 3ec930d9fc INSERT 2013-12-08 23:14:27 -08:00
Ben Vanik ccd5346332 LOAD/STORE_VECTOR_LEFT/RIGHT. It'd be nice not to have these. 2013-12-08 22:16:37 -08:00
Ben Vanik b9df6dc703 load_vector_sh* 2013-12-08 20:58:24 -08:00
Ben Vanik 07b5c3ad81 Adding f64-to-i32 convert. 2013-12-08 20:42:33 -08:00
Ben Vanik 24a13b4021 Fixing carry. 2013-12-08 20:42:20 -08:00
Ben Vanik 2e5489e22f Making the trace format easier to diff with the old stuff. 2013-12-08 20:42:12 -08:00
Ben Vanik 65a36fd69c Fixing CNTLZ. 2013-12-08 16:01:11 -08:00
Ben Vanik 60015afdc4 Misc fixes. 2013-12-08 16:00:55 -08:00
Ben Vanik 7c4b2c6d23 sradi, which was totally wrong before o_o 2013-12-08 15:24:18 -08:00
Ben Vanik 7adc122620 No-op MSR instructions. 2013-12-08 14:31:19 -08:00
Ben Vanik 760d82a9af Fixing endianess of register load/store. 2013-12-08 14:31:03 -08:00
Ben Vanik ec4bf50363 load_acquire/store_release 2013-12-08 14:15:28 -08:00
Ben Vanik 2549292a57 Return address handling. Not happy with the design, but it (sorta) works. 2013-12-08 13:58:57 -08:00
Ben Vanik dc0848f7ba rld* 2013-12-08 13:58:15 -08:00
Ben Vanik 28ff739449 Better nop handling. 2013-12-08 13:17:50 -08:00
Ben Vanik 50f53a483e How did this ever work? Fixing and*. 2013-12-08 12:25:48 -08:00
Ben Vanik e2e2a392ee Scanner now picks up restgprlr calls. 2013-12-08 11:26:43 -08:00
Ben Vanik 1dc356cb4d Allowing dynamic register access checks to be disabled. 2013-12-07 13:15:15 -08:00
Ben Vanik d8cc9fb0b4 Register access (dynamic and static) wired up. 2013-12-07 13:09:22 -08:00
Ben Vanik e5d867a92f Removing comments. 2013-12-07 06:29:58 -08:00
Ben Vanik 3b268f07ef Basic constant propagation. 2013-12-07 05:52:51 -08:00
Ben Vanik 57432d5996 Making ContextPromotion actually remove dead stores. 2013-12-07 04:57:37 -08:00
Ben Vanik 329b554c7a Basic ContextPromotionPass and some opcode info rearranging. 2013-12-07 04:39:48 -08:00
Ben Vanik 51d0be0f0a Basic DCE pass. 2013-12-07 02:18:26 -08:00
Ben Vanik c2113c116d Starting compiler work. Adding pass TODOs. 2013-12-07 01:36:13 -08:00