Displaying 1 result from an estimated 1 matches for "__vec".
Did you mean:
b_vec
2019 Oct 24
2
Failed PPC64 compile when using Power7 loads and stores?
...-MT libppc_power7_la-ppc_power7.lo -MD -MP -MF
.deps/libppc_power7_la-ppc_power7.Tpo -c -o
libppc_power7_la-ppc_power7.lo `test -f 'ppc_power7.cpp' || echo
'./'`ppc_power7.cpp
ppc_power7.cpp:71:21: error: use of undeclared identifier 'vec_xl'
vec_xst(vec_xl(0, (__vector unsigned int*)(b1+3)), 0, (__vec...
The source file includes <altivec.h>. The source file is compiled with
-mcpu=power7 -mvsx -maltivec.
==========
Here is the source code of interest:
// POWER7 added unaligned loads and store operations
byte b1[19] = {255, 255, 255, 1,1,1,1,1,1,1,1,1,...