Moved GMX_SIMD_* macros from ifdefs to values 0/1
commitdd8ee44616308cbd3e3a0008844d839bbef2e5a5
authorErik Lindahl <erik@kth.se>
Sun, 5 Jul 2015 14:47:59 +0000 (5 16:47 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 2 Nov 2015 07:25:28 +0000 (2 08:25 +0100)
treedd9cb9fd32c6aac36aba699183b7e62f09a3645f
parent2992f54ab9c2d3f64f1068d5029da71dc0872685
Moved GMX_SIMD_* macros from ifdefs to values 0/1

This will help catch bugs in SIMD-related files that
use ifdef checks but where the symbol contains a typo,
or if the correct file has not been included.

Change-Id: I9353db28babc9e70e17c095889d9b0131ce07361
55 files changed:
cmake/TestAVXMaskload.c
cmake/gmxTestAVXMaskload.cmake
docs/doxygen/lib/simd.md
src/config.h.cmakein
src/gromacs/ewald/pme-simd.h
src/gromacs/ewald/pme-solve.cpp
src/gromacs/gmxlib/gmx_cpuid.c
src/gromacs/gmxlib/nonbonded/nb_kernel_avx_128_fma_single/kernelutil_x86_avx_128_fma_single.h
src/gromacs/gmxlib/nonbonded/nb_kernel_avx_256_single/kernelutil_x86_avx_256_single.h
src/gromacs/gmxlib/nonbonded/nonbonded.cpp
src/gromacs/listed-forces/bonded.cpp
src/gromacs/listed-forces/bonded.h
src/gromacs/listed-forces/listed-forces.cpp
src/gromacs/mdlib/clincs.cpp
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/nbnxn_atomdata.cpp
src/gromacs/mdlib/nbnxn_internal.h
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_x86_256s.h
src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h
src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h
src/gromacs/mdlib/nbnxn_simd.h
src/gromacs/pbcutil/pbc-simd.cpp
src/gromacs/pbcutil/pbc-simd.h
src/gromacs/simd/impl_arm_neon/impl_arm_neon.h
src/gromacs/simd/impl_arm_neon_asimd/impl_arm_neon_asimd.h
src/gromacs/simd/impl_ibm_qpx/impl_ibm_qpx.h
src/gromacs/simd/impl_ibm_vmx/impl_ibm_vmx.h
src/gromacs/simd/impl_ibm_vsx/impl_ibm_vsx.h
src/gromacs/simd/impl_intel_mic/impl_intel_mic.h
src/gromacs/simd/impl_none/impl_none.h [copied from src/gromacs/ewald/pme-simd.h with 57% similarity]
src/gromacs/simd/impl_reference/impl_reference.h
src/gromacs/simd/impl_sparc64_hpc_ace/impl_sparc64_hpc_ace.h
src/gromacs/simd/impl_x86_avx2_256/impl_x86_avx2_256.h
src/gromacs/simd/impl_x86_avx_128_fma/impl_x86_avx_128_fma.h
src/gromacs/simd/impl_x86_avx_256/impl_x86_avx_256.h
src/gromacs/simd/impl_x86_avx_512f/impl_x86_avx_512f.h
src/gromacs/simd/impl_x86_sse2/impl_x86_sse2.h
src/gromacs/simd/impl_x86_sse4_1/impl_x86_sse4_1.h
src/gromacs/simd/simd.h
src/gromacs/simd/simd_math.h
src/gromacs/simd/tests/bootstrap_loadstore.cpp
src/gromacs/simd/tests/simd.cpp
src/gromacs/simd/tests/simd.h
src/gromacs/simd/tests/simd4.cpp
src/gromacs/simd/tests/simd4.h
src/gromacs/simd/tests/simd4_floatingpoint.cpp
src/gromacs/simd/tests/simd4_math.cpp
src/gromacs/simd/tests/simd4_vector_operations.cpp
src/gromacs/simd/tests/simd_floatingpoint.cpp
src/gromacs/simd/tests/simd_integer.cpp
src/gromacs/simd/tests/simd_math.cpp
src/gromacs/simd/tests/simd_vector_operations.cpp
src/gromacs/simd/vector_operations.h
src/gromacs/utility/gmxomp.h