Commit graph

  • 20256d7c09 Added FP recompilation code, but none of the instructions work yet. tehpola 2009-10-09 02:12:40 +00:00
  • 56b3bc7e82 Finishing up FPR mapping code. tehpola 2009-10-09 02:12:13 +00:00
  • f32e6e125d Finishing up FPR mapping code. tehpola 2009-10-09 02:12:13 +00:00
  • 889b6f77b9 Removed old TODO regarding 64-bit mappings. tehpola 2009-10-09 02:11:37 +00:00
  • 7e41531a61 Removed old TODO regarding 64-bit mappings. tehpola 2009-10-09 02:11:37 +00:00
  • 1119d552c7 Recompilation of SW/SH/SB, removed gen_interrupt prints from screen (it would slow things down). tehpola 2009-10-09 02:11:18 +00:00
  • 8d36bfea83 Recompilation of SW/SH/SB, removed gen_interrupt prints from screen (it would slow things down). tehpola 2009-10-09 02:11:18 +00:00
  • 4da6e00a97 LW now detects whether the address is in SP_DMEM or rdram and loads from the correct location. tehpola 2009-10-09 02:10:53 +00:00
  • dd836b8ee3 LW now detects whether the address is in SP_DMEM or rdram and loads from the correct location. tehpola 2009-10-09 02:10:53 +00:00
  • 94c3cce6b0 LB,SB,LH,SH,LW,SW added to MIPS-to-PPC.c but still interpreted via Interpreter.h tehpola 2009-10-09 02:10:27 +00:00
  • c6e2894ab5 LB,SB,LH,SH,LW,SW added to MIPS-to-PPC.c but still interpreted via Interpreter.h tehpola 2009-10-09 02:10:27 +00:00
  • 155929e6c5 GEN_STFS and GEN_STFD. tehpola 2009-10-09 02:10:09 +00:00
  • 5c67851bd0 GEN_STFS and GEN_STFD. tehpola 2009-10-09 02:10:09 +00:00
  • 83275aab16 Put rdram and reg_cop1_fgr_64 in registers, begin support for FPR mapping. tehpola 2009-10-09 02:09:51 +00:00
  • a5295696ef Put rdram and reg_cop1_fgr_64 in registers, begin support for FPR mapping. tehpola 2009-10-09 02:09:51 +00:00
  • 440532ca3e Updated Makefiles and removed warning from Register-Cache.c tehpola 2009-10-09 02:09:14 +00:00
  • 94857e836f Updated Makefiles and removed warning from Register-Cache.c tehpola 2009-10-09 02:09:14 +00:00
  • c2ef4d36c3 Moved register mapping code into its own file. tehpola 2009-10-09 02:08:00 +00:00
  • 78e7a76d7e Moved register mapping code into its own file. tehpola 2009-10-09 02:08:00 +00:00
  • 2d0c0fdc09 More Interpreted stuff undefined due to successful recompilation :) tehpola 2009-10-09 02:07:34 +00:00
  • a01e2c4a01 More Interpreted stuff undefined due to successful recompilation :) tehpola 2009-10-09 02:07:34 +00:00
  • c6df6c0c37 Fixed bug in DSRAV when (rs) < 32 and MSb of (rt) is 1. tehpola 2009-10-09 02:06:58 +00:00
  • 742050ff02 Fixed bug in DSRAV when (rs) < 32 and MSb of (rt) is 1. tehpola 2009-10-09 02:06:58 +00:00
  • dd7e3dd35c Fixing typos. tehpola 2009-10-09 02:06:11 +00:00
  • 5adef44c7d Fixing typos. tehpola 2009-10-09 02:06:11 +00:00
  • 7690017be8 Added GEN_SUBFIC. tehpola 2009-10-09 02:05:19 +00:00
  • 9481f6ac1d Added GEN_SUBFIC. tehpola 2009-10-09 02:05:19 +00:00
  • af9870ab50 Masking shift amount in DSLLV, DSRLV, and DSRAV. tehpola 2009-10-09 02:04:59 +00:00
  • f4e6144554 Masking shift amount in DSLLV, DSRLV, and DSRAV. tehpola 2009-10-09 02:04:59 +00:00
  • 0d3482125c Implementation (untested) of DSLLV, DSRLV, and DSRAV. tehpola 2009-10-09 02:04:39 +00:00
  • dd24b1d88c Implementation (untested) of DSLLV, DSRLV, and DSRAV. tehpola 2009-10-09 02:04:39 +00:00
  • fbd540427f Fixed SLTI and SLTIU. tehpola 2009-10-09 02:04:15 +00:00
  • 871a8fe2a1 Fixed SLTI and SLTIU. tehpola 2009-10-09 02:04:15 +00:00
  • 25f8f6fb97 Latest #defines for Interpreter.h with all working functions. tehpola 2009-10-09 02:03:57 +00:00
  • 2585ed7417 Latest #defines for Interpreter.h with all working functions. tehpola 2009-10-09 02:03:57 +00:00
  • 2cc61289fa Oops, I wasn't mapping source registers on MULTU, DIV, or DIVU. tehpola 2009-10-09 02:03:41 +00:00
  • 51d58a794a Oops, I wasn't mapping source registers on MULTU, DIV, or DIVU. tehpola 2009-10-09 02:03:41 +00:00
  • 8fd45f2cc2 Implementation (untested) of DSLL32, DSRL32, DSRA32. tehpola 2009-10-09 02:03:24 +00:00
  • d38d89ba86 Implementation (untested) of DSLL32, DSRL32, DSRA32. tehpola 2009-10-09 02:03:24 +00:00
  • a4d83cddc7 Update to Interpreter.h, removes duplicate defines for things like DADD and DADDU. Also interpreting as little as can be (for now). tehpola 2009-10-09 02:03:08 +00:00
  • 2a1867e1c4 Update to Interpreter.h, removes duplicate defines for things like DADD and DADDU. Also interpreting as little as can be (for now). tehpola 2009-10-09 02:03:08 +00:00
  • 750e92d84a Implementations (untested) of DSLL, DSRL, DSRA. tehpola 2009-10-09 02:02:35 +00:00
  • c9ca92ed84 Implementations (untested) of DSLL, DSRL, DSRA. tehpola 2009-10-09 02:02:35 +00:00
  • c21375be28 Addition of 64-bit instructions. tehpola 2009-10-09 02:02:20 +00:00
  • e4ab90d15e Addition of 64-bit instructions. tehpola 2009-10-09 02:02:20 +00:00
  • 7f55afb720 Fixed up condional compilation for double-word instructions to check both INTERPRET_DW or the appropriate flag for that instruction. Implementations for DADDI, DADD, DSUB, but not set to compile those yet. tehpola 2009-10-09 02:02:04 +00:00
  • e2e8857dbc Fixed up condional compilation for double-word instructions to check both INTERPRET_DW or the appropriate flag for that instruction. Implementations for DADDI, DADD, DSUB, but not set to compile those yet. tehpola 2009-10-09 02:02:04 +00:00
  • 4baf4927c6 Updated ROM-Cache.c to work properly as it does in the main trunk. Purely so I can test more on GC. emukidid 2009-10-08 23:28:11 +00:00
  • 3af4cad439 Updated ROM-Cache.c to work properly as it does in the main trunk. Purely so I can test more on GC. emukidid 2009-10-08 23:28:11 +00:00
  • 15ecace9cf Commenting out INTERPRET_HILO. tehpola 2009-10-08 15:55:51 +00:00
  • 7011e21959 Commenting out INTERPRET_HILO. tehpola 2009-10-08 15:55:51 +00:00
  • cd6f2bf5cb Reworked register mappings which now support 64-bit mappings. Properly defined mflo,mfhi,mtlo,mthi to work correctly (64-bit), but INTERPRET_HILO is still defined. tehpola 2009-10-08 15:55:12 +00:00
  • bf8f2bdbc8 Reworked register mappings which now support 64-bit mappings. Properly defined mflo,mfhi,mtlo,mthi to work correctly (64-bit), but INTERPRET_HILO is still defined. tehpola 2009-10-08 15:55:12 +00:00
  • aec72e0be7 Recompiling SLT* instructions now. It looks like SLTIU was the offender as the immediate wasn't sign extended and the operands to the subfc were backwards. tehpola 2009-10-08 15:53:05 +00:00
  • ba28106447 Recompiling SLT* instructions now. It looks like SLTIU was the offender as the immediate wasn't sign extended and the operands to the subfc were backwards. tehpola 2009-10-08 15:53:05 +00:00
  • 70a84ae636 Whoops, on the last revision, I loaded the destination addresss rather than the next instruction's address. tehpola 2009-10-08 15:52:11 +00:00
  • 2f42a4e5c7 Whoops, on the last revision, I loaded the destination addresss rather than the next instruction's address. tehpola 2009-10-08 15:52:11 +00:00
  • af59b049fc Make sure branches out which aren't taken still call gen_interupt if necessary (untested). tehpola 2009-10-08 15:49:30 +00:00
  • 032a848d20 Make sure branches out which aren't taken still call gen_interupt if necessary (untested). tehpola 2009-10-08 15:49:30 +00:00
  • beb834f4e8 Set delaySlotNext for first instruction in block when the previous instruction was a jump/branch. Added JR/JALR to mips_is_jump. tehpola 2009-10-08 15:46:47 +00:00
  • ca0bd81311 Set delaySlotNext for first instruction in block when the previous instruction was a jump/branch. Added JR/JALR to mips_is_jump. tehpola 2009-10-08 15:46:47 +00:00
  • 90e683a934 Use the jump_pad to the trampoline on likely branches which need to take an interrupt. tehpola 2009-10-08 15:46:00 +00:00
  • c34b876ce5 Use the jump_pad to the trampoline on likely branches which need to take an interrupt. tehpola 2009-10-08 15:46:00 +00:00
  • 808185b27c Fixed issue where I would jump over a delay slot which wasn't there because it was in the next block and thus causing bad behavior. tehpola 2009-10-08 15:42:50 +00:00
  • 1c93c2de60 Fixed issue where I would jump over a delay slot which wasn't there because it was in the next block and thus causing bad behavior. tehpola 2009-10-08 15:42:50 +00:00
  • 682ec3607f Avoid any nasty dangling pointer mistakes in RecompCache_release. tehpola 2009-10-08 15:40:32 +00:00
  • 3bf29557e1 Avoid any nasty dangling pointer mistakes in RecompCache_release. tehpola 2009-10-08 15:40:32 +00:00
  • 35b64693ae RecompCache fix (I wasn't allocating again after a block was released). tehpola 2009-10-08 15:39:39 +00:00
  • 2d9e0fe69f RecompCache fix (I wasn't allocating again after a block was released). tehpola 2009-10-08 15:39:39 +00:00
  • 8c1f7f2f13 Conditional branches now use B instead of BC to traverse the block (because it is too large). emukidid 2009-10-08 13:25:51 +00:00
  • d0b0623a3a Conditional branches now use B instead of BC to traverse the block (because it is too large). emukidid 2009-10-08 13:25:51 +00:00
  • 688c0b7a53 Fixed the off-by-one wrt to branches to the first instruction in the next block (or was it the last in the previous?). emukidid 2009-10-08 13:24:29 +00:00
  • 50763e6e1d Fixed the off-by-one wrt to branches to the first instruction in the next block (or was it the last in the previous?). emukidid 2009-10-08 13:24:29 +00:00
  • 6d28efbcc9 Don't write past the end of code_addr when recompiling a delay slot that belongs in the next block. emukidid 2009-10-08 13:21:42 +00:00
  • 01104315de Don't write past the end of code_addr when recompiling a delay slot that belongs in the next block. emukidid 2009-10-08 13:21:42 +00:00
  • 637e17c234 Clearing up recompilation delay slot flags (just more obvious names) and fixing a small typo which would cause the last revision to not compile. emukidid 2009-10-08 13:20:56 +00:00
  • a8871208aa Clearing up recompilation delay slot flags (just more obvious names) and fixing a small typo which would cause the last revision to not compile. emukidid 2009-10-08 13:20:56 +00:00
  • 6322096bbf A few small misc fixes from ps3. emukidid 2009-10-08 13:20:04 +00:00
  • 89c8edd59e A few small misc fixes from ps3. emukidid 2009-10-08 13:20:04 +00:00
  • 46cb12497d Fix code_addr for instructions which flush previous registers' mappings. emukidid 2009-10-08 13:19:15 +00:00
  • 0cedc64de0 Fix code_addr for instructions which flush previous registers' mappings. emukidid 2009-10-08 13:19:15 +00:00
  • 731462e383 Flush delay slots of interpreted branches so their register mappings don't leak into the next basic block. emukidid 2009-10-08 13:18:19 +00:00
  • 6d02bddc7d Flush delay slots of interpreted branches so their register mappings don't leak into the next basic block. emukidid 2009-10-08 13:18:19 +00:00
  • 85b3099c58 Set noCheckInterrupt in decodeNInterpret if the dynarec needs to bounce back to the trampoline because the PC was changed. emukidid 2009-10-08 13:17:28 +00:00
  • 8209e94237 Set noCheckInterrupt in decodeNInterpret if the dynarec needs to bounce back to the trampoline because the PC was changed. emukidid 2009-10-08 13:17:28 +00:00
  • b252390437 Fixes behavior wrt Count when continuing execution between adjacent blocks (without branching) by setting a flag. Fixes JALR's incorrect linking address. emukidid 2009-10-08 13:16:40 +00:00
  • db015157ee Fixes behavior wrt Count when continuing execution between adjacent blocks (without branching) by setting a flag. Fixes JALR's incorrect linking address. emukidid 2009-10-08 13:16:40 +00:00
  • c7d5ce9c6e Conditional linking branches fix. emukidid 2009-10-08 13:15:27 +00:00
  • 69818ad096 Conditional linking branches fix. emukidid 2009-10-08 13:15:27 +00:00
  • ed65b6fc0d SRLV fix. emukidid 2009-10-08 13:14:25 +00:00
  • 0f70f115b6 SRLV fix. emukidid 2009-10-08 13:14:25 +00:00
  • c6829bfc8a Conditional linking branches fix. emukidid 2009-10-08 13:13:00 +00:00
  • 392fa0dbc7 Conditional linking branches fix. emukidid 2009-10-08 13:13:00 +00:00
  • d476b69c83 Likely delay slot update_count fix. emukidid 2009-10-08 13:11:59 +00:00
  • 22eb3962ac Likely delay slot update_count fix. emukidid 2009-10-08 13:11:59 +00:00
  • 543f4170ba emukidid directory now has all the latest IRC channel fixes as well as: 4mb fix and printing gen_interrupt stuff to the desktop. Also disabled the printing in wrappers.c emukidid 2009-10-07 13:17:16 +00:00
  • 9ec0b4fa3c emukidid directory now has all the latest IRC channel fixes as well as: 4mb fix and printing gen_interrupt stuff to the desktop. Also disabled the printing in wrappers.c emukidid 2009-10-07 13:17:16 +00:00
  • 2bf029d30e Created emukidid branch from tehpola r468 branch emukidid 2009-10-07 12:48:48 +00:00
  • 1c9cadc1f5 Created emukidid branch from tehpola r468 branch emukidid 2009-10-07 12:48:48 +00:00
  • 5cc8b500a4 Edited wiki page through web user interface. emukidid 2009-09-30 11:29:10 +00:00