Skip optimizations for big-endian PowerPC.
authorMauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Mon, 20 Sep 2021 16:02:49 +0000 (17:02 +0100)
committerSébastien Villemot <sebastien@debian.org>
Mon, 20 Sep 2021 16:02:49 +0000 (17:02 +0100)
commit91e99ca979efa469c0093fb7b81f814263672ea4
treed25d639002ef7c6541d5456b1da5aeecebfe6a19
parent5839ee207f0fcfc5c133edfbdab6b1b69ca7e253
Skip optimizations for big-endian PowerPC.

Bug-Debian: https://bugs.debian.org/766695
Forwarded: http://sourceforge.net/p/math-atlas/patches/65/
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2014-10-28

Some of the existing optimized files/cases for PowerPC
contain assembly instructions with implicit big-endian
behavior - thus incorrect for the little-endian mode -
incurring tests failures during the build (i.e., FTBFS).
This is being worked on; this is the workaround for now.

Note: this is an alternative for Michael Normand's patch
'atlas.3.10.2-ppc64le_do_not_use_files_with_lvx.patch',
in order not to touch file lists/indexes, but only C
source code, so the C preprocessor can avoid code per-arch.

For more details, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1080073#c40

Gbp-Pq: Name ppc64el-ifdef-files-with-lvx.patch
tune/blas/gemm/CASES/ATL_cmm4x4x128_av.c
tune/blas/gemm/CASES/ATL_dmm4x4x80_ppc.c
tune/blas/gemm/CASES/ATL_dmm8x4x2_vsx.c
tune/blas/gemm/CASES/ATL_smm4x4x128_av.c
tune/blas/gemm/CASES/ATL_smm8x2x4_av.c