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

Move away from UAE/dyngen code #12

Open
MaddTheSane opened this issue Sep 10, 2012 · 3 comments
Open

Move away from UAE/dyngen code #12

MaddTheSane opened this issue Sep 10, 2012 · 3 comments

Comments

@MaddTheSane
Copy link

As Clang has issues with global register variables, perhaps moving to a different emulation system would be welcome. The first thing to come to mind is Qemu's TCG and TCI. As the current TCG uses a global register variable right now, the TCI back-end would be the best bet to work with Clang. Another course of action is to check if the compiler supports global register variables and use TCI if it doesn't and the proper processor back-end if it does.

Correct me if I'm wrong, but the dyngen code came from Qemu, right?

@MaddTheSane
Copy link
Author

Some news on the Qemu front: you don't need to use the TCI when compiling with Clang: just a vanilla build works fine.

@asvitkine
Copy link
Collaborator

The dyngen step is used to generate some (architecture-specific) C++ code that then gets compiled as part of the regular build.

We could check in these generated sources for various platforms, which could then be used with clang (since it's only generating them that doesn't work with clang).

We'd need to modify the various build files to support that and to check in the generated files for the different platforms.

@morgant
Copy link

morgant commented Dec 18, 2016

@MaddTheSane @asvitkine has started addressing this as mentioned above as part of the discussion in Issue #98.

JustinCB pushed a commit to JustinCB/macemu that referenced this issue Apr 22, 2018
zydeco pushed a commit to zydeco/macemu that referenced this issue Feb 28, 2019
SDL mutex deadlock and video fix, try 2
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

3 participants