Displaying 1 result from an estimated 1 matches for "vec_xst".
2019 Oct 24
2
Failed PPC64 compile when using Power7 loads and stores?
...sx -maltivec -g -O2 -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...