From 6c7c5a04b8aa27e33e33746471811b840c1fa6d2 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 20 Jun 2016 08:28:34 -0500 Subject: [PATCH] [libpng16] More efficient absolute value calculation on SSE2 (Matthieu Darbois). --- ANNOUNCE | 5 +++-- CHANGES | 3 ++- contrib/intel/filter_sse2_intrinsics.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index da4eebe51..811ba1ba1 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,4 +1,4 @@ -Libpng 1.6.24beta02 - June 19, 2016 +Libpng 1.6.24beta02 - June 20, 2016 This is not intended to be a public release. It will be replaced within a few weeks by a public version or by another test version. @@ -29,7 +29,7 @@ Version 1.6.24beta01 [June 11, 2016] Avoid potential overflow of the PNG_IMAGE_SIZE macro. This macro is not used within libpng, but is used in some of the examples. -Version 1.6.24beta02 [June 19, 2016] +Version 1.6.24beta02 [June 20, 2016] Correct filter heuristic overflow handling. This was broken when the write filter code was moved out-of-line; if there is a single filter and the heuristic sum overflows the calculation of the filtered line is not @@ -45,6 +45,7 @@ Version 1.6.24beta02 [June 19, 2016] implemented in 1.7), however a simple safe fix here is to chose the lowest numbered filter in the list from png_set_filter (this only works if the first problem is also fixed) (John Bowler). + Use a more efficient absolute value calculation on SSE2 (Matthieu Darbois). Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 2fc0222c3..32575c28e 100644 --- a/CHANGES +++ b/CHANGES @@ -5600,7 +5600,7 @@ Version 1.6.24beta01 [June 11, 2016] Avoid potential overflow of the PNG_IMAGE_SIZE macro. This macro is not used within libpng, but is used in some of the examples. -Version 1.6.24beta02 [June 19, 2016] +Version 1.6.24beta02 [June 20, 2016] Correct filter heuristic overflow handling. This was broken when the write filter code was moved out-of-line; if there is a single filter and the heuristic sum overflows the calculation of the filtered line is not @@ -5616,6 +5616,7 @@ Version 1.6.24beta02 [June 19, 2016] implemented in 1.7), however a simple safe fix here is to chose the lowest numbered filter in the list from png_set_filter (this only works if the first problem is also fixed) (John Bowler). + Use a more efficient absolute value calculation on SSE2 (Matthieu Darbois). Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/contrib/intel/filter_sse2_intrinsics.c b/contrib/intel/filter_sse2_intrinsics.c index 8197c2dd9..d6557125b 100644 --- a/contrib/intel/filter_sse2_intrinsics.c +++ b/contrib/intel/filter_sse2_intrinsics.c @@ -6,7 +6,7 @@ * Derived from arm/filter_neon_intrinsics.c, which was * Copyright (c) 2014,2016 Glenn Randers-Pehrson * - * Last changed in libpng 1.6.22 [May 26, 2016] + * Last changed in libpng 1.6.24 [(PENDING RELEASE)] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer