Skip to content

Commit 55cd52c

Browse files
Tentative support for altivec
1 parent 2aceb7a commit 55cd52c

File tree

8 files changed

+1917
-1
lines changed

8 files changed

+1917
-1
lines changed

.github/workflows/cross.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- { platform: 'arm', arch: 'armv7-a', dir: 'arm-linux-gnueabihf', flags: '-mfpu=neon', full: 'ON'}
1414
- { platform: 'arm', arch: 'armv7-a', dir: 'arm-linux-gnueabihf', flags: '-mfpu=vfpv3-d16', full: 'OFF' } # no neon
1515
- { platform: 'aarch64', arch: 'armv8-a', dir: 'aarch64-linux-gnu', flags: '', full: 'ON' }
16+
- { platform: 'ppc', arch: 'powerpc', dir: 'powerpc-linux-gnu', flags: '-maltivec', full: 'OFF' }
1617
sys:
1718
- { compiler: 'gcc', version: '10' }
1819
steps:

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ message(STATUS "xsimd v${${PROJECT_NAME}_VERSION}")
3535
set(XSIMD_HEADERS
3636
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_constants.hpp
3737
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_fma3_avx.hpp
38+
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_fma3_avx.hpp
3839
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_fma3_avx2.hpp
3940
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_fma3_sse.hpp
4041
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_fma4.hpp
@@ -49,6 +50,7 @@ ${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_sse3.hpp
4950
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_sse4_1.hpp
5051
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_sse4_2.hpp
5152
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_ssse3.hpp
53+
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_altivec.hpp
5254
${XSIMD_INCLUDE_DIR}/xsimd/arch/xsimd_sve.hpp
5355
${XSIMD_INCLUDE_DIR}/xsimd/config/xsimd_arch.hpp
5456
${XSIMD_INCLUDE_DIR}/xsimd/config/xsimd_config.hpp
@@ -70,6 +72,7 @@ ${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_fma3_sse_register.hpp
7072
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_fma4_register.hpp
7173
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_common_arch.hpp
7274
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_register.hpp
75+
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_altivec_register.hpp
7376
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_rvv_register.hpp
7477
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_sse2_register.hpp
7578
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_sse3_register.hpp

docs/Doxyfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ INPUT = ../include/xsimd/types/xsimd_api.hpp \
99
../include/xsimd/memory/xsimd_aligned_allocator.hpp \
1010
../include/xsimd/types/xsimd_common_arch.hpp \
1111
../include/xsimd/types/xsimd_traits.hpp \
12+
../include/xsimd/types/xsimd_altivec_register.hpp \
1213
../include/xsimd/types/xsimd_avx2_register.hpp \
1314
../include/xsimd/types/xsimd_avx512bw_register.hpp \
1415
../include/xsimd/types/xsimd_avx512cd_register.hpp \

0 commit comments

Comments
 (0)