shithub: freetype+ttf2subf

Download patch

ref: 90a30f154a612693641e5366ea8d1d27ea2a4a99
parent: 545a481a74a3c3b70af8928793a01a84f8b0ee9b
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Thu Oct 10 18:04:50 EDT 2019

* src/sfnt/pngshim.c (premultiply_data): Optimize for __SSE__ only.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-10-10  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
+	* src/sfnt/pngshim.c (premultiply_data): Optimize for __SSE__ only.
+
 2019-10-10  Werner Lemberg  <wl@gnu.org>
 
 	* src/sfnt/sfwoff2.c (reconstruct_glyf): Check `triplet_size'.
--- a/src/sfnt/pngshim.c
+++ b/src/sfnt/pngshim.c
@@ -68,6 +68,7 @@
         ( ( __clang_major__ >= 4 )                               ||       \
         ( ( __clang_major__ == 3 ) && ( __clang_minor__ >= 2 ) ) ) ) ) && \
     defined( __OPTIMIZE__ )                                            && \
+    defined( __SSE__ )                                                 && \
     __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 
 #ifdef __clang__