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

won't run on cpu that lacks SSSE3 (?) #71

Open
Newk77 opened this issue Oct 18, 2020 · 2 comments
Open

won't run on cpu that lacks SSSE3 (?) #71

Newk77 opened this issue Oct 18, 2020 · 2 comments

Comments

@Newk77
Copy link

Newk77 commented Oct 18, 2020

note the triple S, it's different then SSE3
(https://en.wikipedia.org/wiki/SSSE3)

I assume it is again that my pc (Athlon64X2) is segfaulting on freshly compiled code like this because it misses this particular instruction set.

Is Orca-C really using this instruction set? Or is it just a feature that could be turned off?

@cancel
Copy link
Collaborator

cancel commented Oct 21, 2020

The build script sets "nehalem" as the hardware target, which probably has newer instructions than your CPU. Actually, I didn't expect anyone to ever run orca-c with an AMD64-targeted kernel but with such an old CPU. Sorry about that.

You can fix this by editing the tool build script here: https://github.com/hundredrabbits/Orca-c/blob/master/tool#L345

Change it to -march=native

@Newk77
Copy link
Author

Newk77 commented Oct 21, 2020

Yes! That did the trick, thank you!

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

2 participants