Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: deadulas update: speed up

  
  1. #1
    mart19902004 is offline -Hacks Newbie
    Join Date
    Jul 2006
    Posts
    15
    Rep Power
    0

    Default

    deadulas update




    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.




    _____________________________________________________________________________________________
    FREE MAC MINI :- REMOVED
    APROVED BY THE BBC


  2. #2
    Breath of Fire is offline -Hacks Veteran
    Join Date
    May 2006
    Posts
    1,482
    Rep Power
    15

    Default

    Who are you?
    _______PSP | Version 3.52-M33 | 2GB Memory Stick Pro DUO
    _______Click Here for my Fully Setup gpSP thread

  3. #3
    Jubblin is offline -Hacks Veteran
    Join Date
    May 2006
    Location
    From: From: From: Rank: ORLY?
    Posts
    1,111
    Rep Power
    15

    Default

    yeah i know..wtf?

  4. #4
    R3TARD is offline Senior Member -Hacks Ninja
    Join Date
    Jun 2005
    Location
    R3TARD For Admin Sex:YesPlz
    Posts
    797
    Rep Power
    15

    Default

    Quote Originally Posted by Breath of Fire
    Who are you?
    I'm wondering the same thing...
    -Your brain is a garage I park my bullshit in-

  5. #5
    Splitz is offline -Hacks Hacker
    Join Date
    Jul 2006
    Location
    Liberty, New York
    Posts
    879
    Rep Power
    14

    Default

    shame on you...having spam in your sig.

  6. #6
    mart19902004 is offline -Hacks Newbie
    Join Date
    Jul 2006
    Posts
    15
    Rep Power
    0

    Default

    soz ill edit now

  7. #7
    dienasty is offline -Hacks Guru
    Join Date
    May 2006
    Location
    graphic galaxy [Flare-Fx]
    Posts
    1,739
    Rep Power
    15

    Default

    i dont care who he/she is but thnx for the heads up but im sure you still couldnt have a fun time playing the n6d emu

    ================ {~Flare-Fx~} ===============
    xX We Set The Trend.....We Set The Flare.....Flare-Fx Xx

  8. #8
    Joe88's Avatar
    Joe88 is offline -Hacks Titan
    Join Date
    Jun 2005
    Location
    NYC
    Posts
    12,704
    Rep Power
    29

    Default

    STOP PUTTING REFFERAL LINKS !

  9. #9
    pkmaximum's Avatar
    pkmaximum is offline Senior Member -Hacks Veteran
    Join Date
    Mar 2006
    Posts
    1,002
    Rep Power
    15

    Default

    Looks like Strmmmmn is a promising coder thats been doing a lot for N64 emualtion for the PSP scene. I'm really anxious to see if mario 64 is at a playable frame rate in the next release. Becuase as of now its not too far away from that p oint so the next release should re really promising.
    1 God 1 King is truly a king =D He saved me from leaving the scene, but kindly donating his PSP to me. Anybody who talks to him on these forums, is not worthy of his kindness =P THANK YOU 1 GOD 1 KING!!!!

  10. #10
    OGTiago's Avatar
    OGTiago is offline Senior Member -Hacks Titan
    Join Date
    Apr 2006
    Location
    "Meat on the face"
    Posts
    5,344
    Rep Power
    289

    Default

    Quote Originally Posted by Joe88
    STOP PUTTING REFFERAL LINKS !
    OMG joe, love ur sig, it tricks u into thinking the person keeps comming forward.

    if i was a coder, i wouldnt give up on the n64 emu, its good to see updates :mrgreen:

Page 1 of 2 1 2 LastLast

Posting Permissions

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