• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 19 20 21 22 23 ... 117 Next »

About dcache invalidate function and to emulate the cache
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
About dcache invalidate function and to emulate the cache
04-06-2018, 07:29 AM
#2
JonnyH Offline
Shameless AMD shill
**********
Developers (Some Administrators and Super Moderators)
Posts: 701
Threads: 0
Joined: May 2017
I feel this will be killed by the host processor's cache - 'sharing' data between cores requires the cache line to be evicted from the l1 of CORE1 then read in to the l1 of CORE2. This is relatively expensive - often in the order of hundreds of cycles (depending on topology, implementation details and where in the cache the contended data currently is).

Doing this at every memory read or write will likely make it slower than just running the cache logic on the same CPU as running the JIT itself - which is how the current cache code is implemented.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
About dcache invalidate function and to emulate the cache - Notalife - 04-06-2018, 05:58 AM
RE: About dcache invalidate function and to emulate the cache - JonnyH - 04-06-2018, 07:29 AM
RE: About dcache invalidate function and to emulate the cache - JMC47 - 04-06-2018, 07:39 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode