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

SSE2 and SSE4.2 builds use AVX2 instructions #138

Closed
AndrewBetson opened this issue Sep 22, 2022 · 1 comment
Closed

SSE2 and SSE4.2 builds use AVX2 instructions #138

AndrewBetson opened this issue Sep 22, 2022 · 1 comment

Comments

@AndrewBetson
Copy link

While trying to help an acquaintance get VJolt working on their TF2 server (which is hosted on a machine using an Intel Xeon E5-2690 v2, which doesn't support AVX2) I noticed that the binaries output by the SSE2 and SSE4.2 projects use AVX2 instructions, as shown by elfx86exts in the attachment below.

I believe this is caused by the joltphysics_avx2.vpc script setting the VOLT_AVX2 conditional and not unsetting it, causing the SSE2 and SSE4.2 projects to also use the AVX2-specific settings defined in jolyphysics_settings.vpc
avx2

@Xeogin
Copy link

Xeogin commented Jan 1, 2023

It doesn't seem like any of the forks have fixed this in their releases or "action builds" yet. Is this something easy to do for a novice or can someone explain the basics?

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