-
Notifications
You must be signed in to change notification settings - Fork 643
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
Linux - Illegal instruction error #144
Comments
cemu can function on Nahalem+ i7 processors, the ivy bridge 3770k should have no issues instruction wise. |
Require the verbose (-v) output of the compile stage |
PR #80 seems to have introduced an |
GCC won't compile without |
@bitscher @tomlally Thanks for looking into this. Like @tomlally said, it won't compile without |
Perhaps I closed this issue prematurely. Can't believe this PR was created. Nice! @tomlally I'll test out your PR when I get home. |
Thats false, please use proper tests in the cmake to pass the machines supported instuction set to the compiler, it should resolve to -march=avx (-mavx) in the case of a Core i 2xxx/3xxx, SSE4 for a Nahalem Core i 800 or 900, etc., for personal builds -march=native is also feasible. |
See #152. Also, I meant that only in the context of this issue. |
That is missing the AVX case, which Windows builds do take advantage of, an AVX capable processor such as the Fx series or Core i Sandy/Ivy will be restricted to SSE on Unix builds with that change. |
Where? |
Ah, its my mistake, the LatteIndices use SSE4.x on avx1 processors but AVX is used in other parts, such as the recompiler. |
Holy crap it works!!! @tomlally can't thank you enough! Update: |
Don't because I broke it in the first place. But, hopefully I'm off the hook now that this is closed. 🙂 |
Cemu/dependencies/ih264d/CMakeLists.txt Lines 9 to 11 in d22901b
|
This looks as if it could be easily fixed in the CMakeLists by only enabling |
I've compiled
Cemu
on Fedora 36 (and 37) according to the (gcc) instructions in theBUILD.md
guide.When I execute the binary I receive the following error:
I'm still rockin a
i7-3770K
which is pretty dated at this point. Going to upgrade when the Zen4 chips are released at the end of the month --but I figured this could help someone out who might be running into the same issue.I believe this error is related age of this chip and the instruction sets it supports as the same
Cemu
binary runs fine on my laptop with a more modern processor. I figured there must be a flag I can pass to cmake that enables all instruction subsets supported by my CPU. But I'm not sure how to do that....Here are pertinent details:
GDB
coredump
cpu info
The text was updated successfully, but these errors were encountered: