Skip to content

Commit f993d1f

Browse files
gcc ver
1 parent b7a286e commit f993d1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/cross-ppc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
strategy:
1111
matrix:
1212
target:
13-
- { platform: 'ppc', dir: 'powerpc-linux-gnu', flags: '-maltivec', full: 'OFF' }
13+
- { platform: 'ppc', dir: 'powerpc-linux-gnu', flags: '-maltivec -mvsx', full: 'OFF' }
1414
sys:
15-
- { compiler: 'gcc', version: '10' }
15+
- { compiler: 'gcc', version: '12' }
1616
steps:
1717
- name: Setup compiler
1818
if: ${{ matrix.sys.compiler == 'gcc' }}

include/xsimd/arch/xsimd_altivec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace xsimd
7171
template <class A>
7272
XSIMD_INLINE batch<float, A> abs(batch<float, A> const& self, requires_arch<altivec>) noexcept
7373
{
74-
return vec_abs(self);
74+
return vec_abs(self.data);
7575
}
7676

7777
// add

0 commit comments

Comments
 (0)