Apply auto-vectorization to the loop in accum_sum_add()

Rewrite the loop to a form that compilers are more likely to
auto-vectorize, similar to commits 8870917623 and e3d41d08a1.

Author: Xiangxin Zeng <[email protected]>
Reviewed-by: Quan Zongliang <[email protected]>
Reviewed-by: Junwang Zhao <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/158b6d5109fad9d5f0c30693fa85041a1c621fe1

Modified Files
--------------
src/backend/utils/adt/numeric.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)

Reply via email to