Page 1 of 5 12345 LastLast
Results 1 to 10 of 41

Thread: Daedalus Further dynarec optimisation

                  
   
  1. #1
    DCEmu Coder BrooksyX's Avatar
    Join Date
    Feb 2006
    Location
    Washington, U.S.
    Age
    35
    Posts
    1,336
    Rep Power
    88

    psp Daedalus Further dynarec optimisation

    Taken from http://strmnnrmn.blogspot.com/ :

    Further dynarec optimisation

    I've spent the last couple of evenings working on adding support for additional instructions to the dynamic recompiler. With every instruction I add, the generated code becomes a bit more efficient as I can avoid various bookeeping work (such as flushing all the cached registers out to memory.)

    I've added code to handle the following ops:

    * MULT, MULTU (multiply, multiply unsigned)

    * DIV, DIVU (divide, divide unsigned)

    * MFLO, MFHI (move from lo/hi)

    * MTLO, MTHI (move to lo/hi)

    * LB, LBU (load byte, load byte unsigned)

    * LH, LHU (load halfword, load halfword unsigned)

    So far I'm seeing around a 5-6% speedup with these changes (on top of the 10-12% speedup I talked about on Sunday). I am generating slightly more code as a result of this work, but given the large savings I made over the weekend this isn't much of an issue.

    My next job is to look at optimising the remaining load/store instructions - I just have LWU/SB/SH to do (ignoring the 64 bit instructions for now). Once that's done I'm going to have a look at optimising sequences of load/store operations by caching the base address between uses. I think that should give a significant speed up for memory intensive chunks of code.

    -StrmnNrmn

    Awesome news for the N64 emulator for the PSP


  2. #2
    DCEmu Rookie
    Join Date
    Dec 2005
    Posts
    158
    Rep Power
    71

    Default

    GREAT NEWS!!!!

    thanks a lot!!
    i hope we can soon enjoy Mario Kart w/decent speed and stable.

  3. #3
    DCEmu Rookie
    Join Date
    Apr 2006
    Posts
    122
    Rep Power
    70

    Default

    yeah i saw this also

  4. #4
    DCEmu Pro
    Join Date
    Dec 2005
    Location
    Portugal
    Posts
    505
    Rep Power
    75

    Default

    Great!!! Keep ém coming StrmnNrmn.

  5. #5
    Registered User NoQuarter's Avatar
    Join Date
    Dec 2005
    Posts
    2,106
    Rep Power
    0

    Default

    Awesome !

  6. #6
    DCEmu Old Pro BL4Z3D247's Avatar
    Join Date
    Jun 2006
    Location
    BL4Z3D 24/7 in CT
    Posts
    1,970
    Rep Power
    83

    Default

    freakin sweet, its always good to hear the word speed comin from strmnnrmn

  7. #7
    DCEmu Rookie
    Join Date
    Jun 2006
    Posts
    125
    Rep Power
    70

    Default

    thnx for your efforts!


  8. #8

    Default

    wow thats great man keep up the great work.

  9. #9
    DCEmu Regular idapimp's Avatar
    Join Date
    Dec 2005
    Location
    Austin, Texas
    Posts
    264
    Rep Power
    72

    Default

    Yay!!!!!!!!!!

  10. #10
    DCEmu Newbie
    Join Date
    Oct 2005
    Posts
    39
    Rep Power
    0

    Default

    can t wait to the r7 it b class

Page 1 of 5 12345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •