pgsql: Apply auto-vectorization to the loop in accum_sum_add()

Поиск
Список
Период
Сортировка
Искать

pgsql: Apply auto-vectorization to the loop in accum_sum_add()

От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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 
Reviewed-by: Quan Zongliang 
Reviewed-by: Junwang Zhao 
Discussion: https://www.postgresql.org/message-id/tencent_9DA409B9B2CAA6FFF985C638A28D35C73705@qq.com

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(-)

FAQ