Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The two Killer Instinct games need an ARM dynarec to be playable #436

Open
VGkav opened this issue Apr 1, 2019 · 20 comments
Open

The two Killer Instinct games need an ARM dynarec to be playable #436

VGkav opened this issue Apr 1, 2019 · 20 comments

Comments

@VGkav
Copy link

VGkav commented Apr 1, 2019

Following on from #38

It is my understanding that for playable framerate an ARM dynarec is needed.

@ghost

This comment was marked as spam.

@VGkav
Copy link
Author

VGkav commented Apr 3, 2019

I didn't say anything about the pi, this is about the whole ARM platform.

@ghost

This comment was marked as spam.

@ghost
Copy link

ghost commented Feb 29, 2020

Rpi4 cpu have a very decent performance at 2.0 ghz (cortex a72)

@mpalpha
Copy link

mpalpha commented Oct 22, 2020

There's a bounty for this https://www.bountysource.com/issues/72234676-the-two-killer-instinct-games-need-an-arm-dynarec-to-be-playable

@ghost
Copy link

ghost commented Oct 22, 2020

rpi4 have way more cpu power than many low end x86 cpus (like z8350) that can run this game without any problem. but again, we understand its an open source effort what you all do.

@mpalpha
Copy link

mpalpha commented Apr 29, 2021

What is required to do this?

@ghost
Copy link

ghost commented Apr 29, 2021

A dynarec

@mpalpha
Copy link

mpalpha commented Apr 29, 2021

what is required for an appropriate dynarec?

@padremayi
Copy link

I'm writing the ARM dynarec but the x86 dynarec has a problem and doesn't work (I got unimplementd opcode from original dynarec logger from MAME 0.78 source code). I don't have the time to re-think the x86 dynarec, I have to use a working base.

I have both mame2003-libretro core and RetroArch compiled from master branch. When I starts Killer Instinct I get a segmentation fault. The last error is this:

[libretro ERROR] [MAME 2003] cpu_gettotalcycles() called with no executing cpu!

There is some developer active on this project?

@naxil
Copy link

naxil commented Sep 14, 2022

damn on 2022 low end smartphone this game is unplayable with all mame version ( retroarch and standalone) android is arm right?

@padremayi
Copy link

damn on 2022 low end smartphone this game is unplayable with all mame version ( retroarch and standalone) android is arm right?

Do you know what dynamic recompilation is? Do you know the difference between interpretative and dynarec emulation? Do you know why Killer Instinct runs slow? Do you know the difficult to write a dynamic recompiler from scratch? Do you know that x86 and ARM are a different CPU architecture? Do you know that Killer Instinct is slow not for CPU performance problem?

This is not a forum, if you don't have any computer science knowledge don't write here.

Why don'y you write the ARM dynarec?

@mpalpha
Copy link

mpalpha commented Feb 22, 2023

random pastebin found with arm + x86 optimizations.
section: "COMPLEX OPCODE IMPLEMENTATIONS"
https://pastebin.com/2t5Mf6SC

@padremayi
Copy link

random pastebin found with arm + x86 optimizations. section: "COMPLEX OPCODE IMPLEMENTATIONS" https://pastebin.com/2t5Mf6SC

You didn't understand the problem. The MIPS recompiler is written for x86, we need a MIPS recompiler for ARM.

What you link is not an MIPS to ARM recompiler

@mpalpha
Copy link

mpalpha commented Feb 23, 2023

random pastebin found with arm + x86 optimizations. section: "COMPLEX OPCODE IMPLEMENTATIONS" https://pastebin.com/2t5Mf6SC

You didn't understand the problem. The MIPS recompiler is written for x86, we need a MIPS recompiler for ARM.

What you link is not an MIPS to ARM recompiler

You did not understand "random pastebin found with arm + x86 optimizations."

@padremayi
Copy link

You did not understand "random pastebin found with arm + x86 optimizations."

So, why did you post something unuseful that you didn't understand???

@mpalpha
Copy link

mpalpha commented Feb 23, 2023 via email

@padremayi
Copy link

It seems it is you that doesn't understand. Perhaps leave it for someone who does. Someone else will know what to do with it.

I am the developer of a MAME port, what you link is NOT the dynarec. The source code of MIPS dynamic recompiler is mips3drc.c, here we talk about dynamic recompilation, stop confusing people

@mpalpha
Copy link

mpalpha commented Feb 23, 2023

It seems it is you that doesn't understand. Perhaps leave it for someone who does. Someone else will know what to do with it.

I am the developer of a MAME port, what you link is NOT the dynarec. The source code of MIPS dynamic recompiler is mips3drc.c, here we talk about dynamic recompilation, stop confusing people

Contribute something useful besides rude and negative opinions.

@naxil
Copy link

naxil commented Feb 24, 2023

sorry padremay... ok now i understood what is the problem and why KI 1and2 run slow on ARM arch... the problem is the cpu recompiler isn dynarec and that slowdown the game (on lowend device). and write tons of line of code just for 1 cpu arcade is a waste of time now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants