Commit 40688108 authored by Luca Barbato's avatar Luca Barbato Committed by Anton Mitrofanov
Browse files

ppc: Use the vec_xst_len for partial stores

Seems to give about a 1-2% overall speedup on --slow.
parent 0d111333
......@@ -148,8 +148,12 @@ typedef union {
/***********************************************************************
* VEC_STORE##n: stores n bytes from vector v to address p
**********************************************************************/
#ifndef __POWER9_VECTOR__
#define VEC_STORE8( v, p ) \
vec_vsx_st( vec_xxpermdi( v, vec_vsx_ld( 0, p ), 1 ), 0, p )
#else
#define VEC_STORE8( v, p ) vec_xst_len( v, p, 8 )
#endif
/***********************************************************************
* VEC_TRANSPOSE_8
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment