emu-russia / pureikyubu

Nintendo GameCube Emulator (WIP)
Creative Commons Zero v1.0 Universal
164 stars 6 forks source link

Opcode frequency #180

Closed ogamespec closed 4 years ago

ogamespec commented 4 years ago

Calculate the frequency of using opcodes in various slow sections during emulation.

Primarily interested in:

ogamespec commented 4 years ago

FMV profile:

ps_sub: 2118020 psq_l: 1979027 ps_add: 1930485 lwz: 1402208 bc: 1401763 addi: 1303927 psq_st: 787494 psq_stu: 639822 ps_mul: 581092 ps_msub: 569953

Luigi forest scene:

bc: 4172017 addi: 3711756 lwz: 2481613 cmpli: 2393401 stw: 651640 rlwinm: 643145 dcbst: 543627 cmpi: 401350 dcbi: 388272 or: 384373