Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 893946
Summary: | Incorrect build flags on ARM | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> |
Component: | fftw | Assignee: | Conrad Meyer <cse.cem+redhatbugz> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cse.cem+redhatbugz, dan, susi.lehtola |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-10 11:47:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Peter Robinson
2013-01-10 10:39:19 UTC
fftw has dynamic CPU detection. Closing as NOTABUG. Please provide a link to the details. After looking into the sources I think Susi is right. simd-support subdir contains the detection (via executing SIMD instruction and SIGILL handler) and SIMD compiler flags are passed to CC only in selected subdirs. Date: Tue, 18 Dec 2012 14:10:39 +0100 From: Matteo Frigo <athena> To: Jussi Lehtola <jussi.lehtola> Subject: Re: Recommended compilation flags for distributions FFTW does have runtime CPU detection, so it is safe to enable all features that your compiler supports. Not too long ago a fully-configured FFTW was running fine on an 80386 as well as a modern CPU, and I expect this to be true today as well. The reason why sse/avx are not enabled by default is that the core of FFTW is written in C89 and we want to keep it like that. Things like SSE are not supported, e.g., by the plan 9 compiler. OpenBSD still uses gcc-2.95. AVX was not supported by most compilers until last year, and avx support in gcc-4.6 was quite buggy. The IBM compiler did not quite work for altivec for a long time. NEON support in llvm is still quite experimental. So we don't feel comfortable enabling these extensions by default. The other consideration is the size of the binary. A full SSE/AVX binary is maybe 3x the size of the scalar FPU binary. I assume this does not matter much for Fedora. In summary, you can safely enable all the SIMD extensions. For the reference, I have not enabled AVX support on x86/x86_64 because at least Gromacs runs faster with plain SSE2. |