Enable Altivec for single precision
Altivec only works for single precision. Signed-off-by: Trent Piepho <tpiepho@gmail.com>
This commit is contained in:
parent
9c4cca7ca2
commit
17d2b0fa31
13
fftw.spec
13
fftw.spec
@ -309,12 +309,12 @@ for ((i=0; i<2; i++)) ; do
|
|||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
## Compile support for Altivec instructions
|
# Compile support for Altivec instructions; only supported for single precision
|
||||||
#for ((i=0; i<2; i++)) ; do
|
for ((i=0; i<1; i++)) ; do
|
||||||
# prec_flags[i]+=" --enable-altivec"
|
prec_flags[i]+=" --enable-altivec"
|
||||||
#done
|
done
|
||||||
#%endif
|
%endif
|
||||||
|
|
||||||
# Loop over precisions
|
# Loop over precisions
|
||||||
for ((iprec=0; iprec<%{nprec}; iprec++)) ; do
|
for ((iprec=0; iprec<%{nprec}; iprec++)) ; do
|
||||||
@ -530,6 +530,7 @@ done
|
|||||||
- Clean up precision list
|
- Clean up precision list
|
||||||
- Fix for OpenMPI build with < 4 processors
|
- Fix for OpenMPI build with < 4 processors
|
||||||
- Fix building with no enabled MPI types
|
- Fix building with no enabled MPI types
|
||||||
|
- Enable single precision Altivec on PPC
|
||||||
|
|
||||||
* Thu Mar 02 2023 Orion Poplawski <orion@nwra.com> - 3.3.10-5
|
* Thu Mar 02 2023 Orion Poplawski <orion@nwra.com> - 3.3.10-5
|
||||||
- Use make macros
|
- Use make macros
|
||||||
|
Loading…
Reference in New Issue
Block a user