Theoretically, would it be possible for a multi core CPU to emulate a single core CPU?

GoldenSun3DS

Well-Known Member
OP
Member
Joined
Apr 27, 2013
Messages
272
Trophies
0
Age
29
XP
495
Country
United States
On my phone (Galaxy S6), Limbo PC emulator can use multiple threads to emulate old PCs.

Would it be possible to apply that same strategy on a desktop with high multi thread performance but low single thread performance for low thread tasks?

Like have an octave core and emulate a dual Intel with multithreading, for example.
 

sarkwalvein

There's hope for a Xenosaga port.
Member
Joined
Jun 29, 2007
Messages
8,505
Trophies
2
Age
41
Location
Niedersachsen
XP
11,199
Country
Germany
No. If a given program was not made to take advantage of multiple cores or multi-threading it would be from difficult to impossible to run it's code in parallel and achieve any parallel speed up.
The only efficient parallelization that can be done with that kind of code if hardware based instruction level parallelization, optimized via out of order execution, and it is already done by your CPU.
 

GoldenSun3DS

Well-Known Member
OP
Member
Joined
Apr 27, 2013
Messages
272
Trophies
0
Age
29
XP
495
Country
United States
No. If a given program was not made to take advantage of multiple cores or multi-threading it would be from difficult to impossible to run it's code in parallel and achieve any parallel speed up.
The only efficient parallelization that can be done with that kind of code if hardware based instruction level parallelization, optimized via out of order execution, and it is already done by your CPU.

I'm talking about emulation.

I'm pretty sure the SNES was a single core processor, and the Higan emulator can take advantage of more than one core when emulating it.

Bit of an extreme example, but you get my point.
 

sarkwalvein

There's hope for a Xenosaga port.
Member
Joined
Jun 29, 2007
Messages
8,505
Trophies
2
Age
41
Location
Niedersachsen
XP
11,199
Country
Germany
I'm talking about emulation.

I'm pretty sure the SNES was a single core processor, and the Higan emulator can take advantage of more than one core when emulating it.

Bit of an extreme example, but you get my point.
You can't achieve speedup.
Of course emulation will result in way slower execution.
Serial code from the emulated system is executed serially, not in parallel.
Multiple cores may be used in the recompiling stage, to emulate additional chips, etc.
The serial code from the SNES main cpu is executed serially.
I don't know if you understand that doing this you will lose performance.

I am sleeping and on my phone, writing on this shit is a PITA.
Please read my previous post, take a look at Amdahl's law, think that in a different system you have many chips and components to emulate and those could be emulated on different threads, that would require synchronization and eat performance, meditate and write again after thinking and thinking.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +2
  • BakerMan @ BakerMan:
    @LeoTCK is your partner the sascrotch or smth?
  • Xdqwerty @ Xdqwerty:
    Good morning
  • Xdqwerty @ Xdqwerty:
    Out of nowhere I got several scars on my forearm and part of my arm and it really itches.
  • AdRoz78 @ AdRoz78:
    Hey, I bought a modchip today and it says "New 2040plus" in the top left corner. Is this a legit chip or was I scammed?
  • Veho @ Veho:
    @AdRoz78 start a thread and post a photo of the chip.
    +2
    Veho @ Veho: @AdRoz78 start a thread and post a photo of the chip. +2