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

Switch AVX detection asm to not use an empty clobber list for use with older gcc versions #168

Merged

Conversation

KevinJW
Copy link
Contributor

@KevinJW KevinJW commented Oct 14, 2015

So it looks like older gcc versions don't like empty clobber lists resulting in an error during configure:

conftest.c:45: error: expected string literal before ')' token

so it is not really testing if we have AVX instructions but the syntax of the version of gcc we have.

This appears to fix it. In particular gcc 4.1.2 for current Nuke

Kevin

@KevinJW
Copy link
Contributor Author

KevinJW commented Oct 29, 2015

I should probably mention in case i was not clear this can allow the AVX accelerated DWA code to be assembled with gcc 4.1.2 and thus used with Nuke.

@ehanway-ilm ehanway-ilm merged commit 51073d1 into AcademySoftwareFoundation:develop Jul 26, 2016
ehanway-ilm added a commit that referenced this pull request Jul 26, 2016
@ehanway-ilm
Copy link
Contributor

Merged into develop branch.

@cary-ilm cary-ilm added this to the Pre-ASWF milestone Apr 26, 2020
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

Successfully merging this pull request may close these issues.

3 participants