svn commit: r453437 - in head: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files www/seamonkey www/seamonkey/files

Jan Beich jbeich at FreeBSD.org
Fri Nov 3 23:58:47 UTC 2017


Author: jbeich
Date: Fri Nov  3 23:58:45 2017
New Revision: 453437
URL: https://svnweb.freebsd.org/changeset/ports/453437

Log:
  gecko: speed up HTML5 video scaling on i386
  
  MFH:		2017Q4

Added:
  head/mail/thunderbird/files/patch-bug1414440   (contents, props changed)
  head/www/firefox-esr/files/patch-bug1414440   (contents, props changed)
  head/www/firefox/files/patch-bug1414440   (contents, props changed)
  head/www/seamonkey/files/patch-bug1414440   (contents, props changed)
Modified:
  head/mail/thunderbird/Makefile   (contents, props changed)
  head/www/firefox-esr/Makefile   (contents, props changed)
  head/www/firefox/Makefile   (contents, props changed)
  head/www/seamonkey/Makefile   (contents, props changed)

Modified: head/mail/thunderbird/Makefile
==============================================================================
--- head/mail/thunderbird/Makefile	Fri Nov  3 23:58:19 2017	(r453436)
+++ head/mail/thunderbird/Makefile	Fri Nov  3 23:58:45 2017	(r453437)
@@ -3,7 +3,7 @@
 
 PORTNAME=	thunderbird
 DISTVERSION=	52.4.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	mail news net-im ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
 		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build3/source

Added: head/mail/thunderbird/files/patch-bug1414440
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/thunderbird/files/patch-bug1414440	Fri Nov  3 23:58:45 2017	(r453437)
@@ -0,0 +1,72 @@
+Build libyuv with SIMD optimizations on Linux x86.
+
+diff --git media/libyuv/include/libyuv/compare_row.h media/libyuv/include/libyuv/compare_row.h
+index 7abc2d4aef8f..161c12fa1b83 100644
+--- mozilla/media/libyuv/include/libyuv/compare_row.h
++++ mozilla/media/libyuv/include/libyuv/compare_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/planar_functions.h media/libyuv/include/libyuv/planar_functions.h
+index 040839c211b1..0d672dec96d6 100644
+--- mozilla/media/libyuv/include/libyuv/planar_functions.h
++++ mozilla/media/libyuv/include/libyuv/planar_functions.h
+@@ -719,8 +719,7 @@ int I420Interpolate(const uint8* src0_y,
+                     int height,
+                     int interpolation);
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/rotate_row.h media/libyuv/include/libyuv/rotate_row.h
+index 2c51584eee8b..73bbe8ef7ad4 100644
+--- mozilla/media/libyuv/include/libyuv/rotate_row.h
++++ mozilla/media/libyuv/include/libyuv/rotate_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/row.h media/libyuv/include/libyuv/row.h
+index f74bd9f7d17a..3bdfb75fc160 100644
+--- mozilla/media/libyuv/include/libyuv/row.h
++++ mozilla/media/libyuv/include/libyuv/row.h
+@@ -30,8 +30,7 @@ extern "C" {
+   free(var##_mem);                  \
+   var = 0
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/scale_row.h media/libyuv/include/libyuv/scale_row.h
+index edb46cc8c647..fe78a80f81bd 100644
+--- mozilla/media/libyuv/include/libyuv/scale_row.h
++++ mozilla/media/libyuv/include/libyuv/scale_row.h
+@@ -19,8 +19,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505

Modified: head/www/firefox-esr/Makefile
==============================================================================
--- head/www/firefox-esr/Makefile	Fri Nov  3 23:58:19 2017	(r453436)
+++ head/www/firefox-esr/Makefile	Fri Nov  3 23:58:45 2017	(r453437)
@@ -4,7 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	52.4.1
 DISTVERSIONSUFFIX=esr.source
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \

Added: head/www/firefox-esr/files/patch-bug1414440
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/firefox-esr/files/patch-bug1414440	Fri Nov  3 23:58:45 2017	(r453437)
@@ -0,0 +1,72 @@
+Build libyuv with SIMD optimizations on Linux x86.
+
+diff --git media/libyuv/include/libyuv/compare_row.h media/libyuv/include/libyuv/compare_row.h
+index 7abc2d4aef8f..161c12fa1b83 100644
+--- media/libyuv/include/libyuv/compare_row.h
++++ media/libyuv/include/libyuv/compare_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/planar_functions.h media/libyuv/include/libyuv/planar_functions.h
+index 040839c211b1..0d672dec96d6 100644
+--- media/libyuv/include/libyuv/planar_functions.h
++++ media/libyuv/include/libyuv/planar_functions.h
+@@ -719,8 +719,7 @@ int I420Interpolate(const uint8* src0_y,
+                     int height,
+                     int interpolation);
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/rotate_row.h media/libyuv/include/libyuv/rotate_row.h
+index 2c51584eee8b..73bbe8ef7ad4 100644
+--- media/libyuv/include/libyuv/rotate_row.h
++++ media/libyuv/include/libyuv/rotate_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/row.h media/libyuv/include/libyuv/row.h
+index f74bd9f7d17a..3bdfb75fc160 100644
+--- media/libyuv/include/libyuv/row.h
++++ media/libyuv/include/libyuv/row.h
+@@ -30,8 +30,7 @@ extern "C" {
+   free(var##_mem);                  \
+   var = 0
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/scale_row.h media/libyuv/include/libyuv/scale_row.h
+index edb46cc8c647..fe78a80f81bd 100644
+--- media/libyuv/include/libyuv/scale_row.h
++++ media/libyuv/include/libyuv/scale_row.h
+@@ -19,8 +19,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505

Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile	Fri Nov  3 23:58:19 2017	(r453436)
+++ head/www/firefox/Makefile	Fri Nov  3 23:58:45 2017	(r453437)
@@ -4,7 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	56.0.2
 DISTVERSIONSUFFIX=.source
-PORTREVISION=	5
+PORTREVISION=	6
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Added: head/www/firefox/files/patch-bug1414440
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/firefox/files/patch-bug1414440	Fri Nov  3 23:58:45 2017	(r453437)
@@ -0,0 +1,94 @@
+Build libyuv with SIMD optimizations on Linux x86.
+
+diff --git media/libyuv/libyuv/include/libyuv/compare_row.h media/libyuv/libyuv/include/libyuv/compare_row.h
+index 7abc2d4aef8f..161c12fa1b83 100644
+--- media/libyuv/libyuv/include/libyuv/compare_row.h
++++ media/libyuv/libyuv/include/libyuv/compare_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/libyuv/include/libyuv/planar_functions.h media/libyuv/libyuv/include/libyuv/planar_functions.h
+index 040839c211b1..0d672dec96d6 100644
+--- media/libyuv/libyuv/include/libyuv/planar_functions.h
++++ media/libyuv/libyuv/include/libyuv/planar_functions.h
+@@ -719,8 +719,7 @@ int I420Interpolate(const uint8* src0_y,
+                     int height,
+                     int interpolation);
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/libyuv/include/libyuv/rotate_row.h media/libyuv/libyuv/include/libyuv/rotate_row.h
+index 2c51584eee8b..73bbe8ef7ad4 100644
+--- media/libyuv/libyuv/include/libyuv/rotate_row.h
++++ media/libyuv/libyuv/include/libyuv/rotate_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/libyuv/include/libyuv/row.h media/libyuv/libyuv/include/libyuv/row.h
+index f74bd9f7d17a..3bdfb75fc160 100644
+--- media/libyuv/libyuv/include/libyuv/row.h
++++ media/libyuv/libyuv/include/libyuv/row.h
+@@ -30,8 +30,7 @@ extern "C" {
+   free(var##_mem);                  \
+   var = 0
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+@@ -103,7 +102,10 @@ extern "C" {
+ #define HAS_COPYROW_ERMS
+ #define HAS_COPYROW_SSE2
+ #define HAS_H422TOARGBROW_SSSE3
++#ifdef __SSE2__
++// source/row_gcc.cc:5457:5: error: couldn't allocate input reg for constraint 'x'
+ #define HAS_HALFFLOATROW_SSE2
++#endif
+ #define HAS_I400TOARGBROW_SSE2
+ #define HAS_I422TOARGB1555ROW_SSSE3
+ #define HAS_I422TOARGB4444ROW_SSSE3
+@@ -202,7 +204,10 @@ extern "C" {
+ #define HAS_ARGBTOYROW_AVX2
+ #define HAS_COPYROW_AVX
+ #define HAS_H422TOARGBROW_AVX2
++#ifdef __SSE2__
++// source/row_gcc.cc:5492:5: error: couldn't allocate input reg for constraint 'x'
+ #define HAS_HALFFLOATROW_AVX2
++#endif
+ //  #define HAS_HALFFLOATROW_F16C  // Enable to test halffloat cast
+ #define HAS_I400TOARGBROW_AVX2
+ #define HAS_I422TOARGB1555ROW_AVX2
+diff --git media/libyuv/libyuv/include/libyuv/scale_row.h media/libyuv/libyuv/include/libyuv/scale_row.h
+index edb46cc8c647..fe78a80f81bd 100644
+--- media/libyuv/libyuv/include/libyuv/scale_row.h
++++ media/libyuv/libyuv/include/libyuv/scale_row.h
+@@ -19,8 +19,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505

Modified: head/www/seamonkey/Makefile
==============================================================================
--- head/www/seamonkey/Makefile	Fri Nov  3 23:58:19 2017	(r453436)
+++ head/www/seamonkey/Makefile	Fri Nov  3 23:58:45 2017	(r453437)
@@ -3,7 +3,7 @@
 
 PORTNAME=	seamonkey
 DISTVERSION=	2.49.1
-PORTREVISION=	3
+PORTREVISION=	4
 MOZILLA_VER=	52 # above + 3
 CATEGORIES?=	www mail news editors irc ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Added: head/www/seamonkey/files/patch-bug1414440
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/seamonkey/files/patch-bug1414440	Fri Nov  3 23:58:45 2017	(r453437)
@@ -0,0 +1,72 @@
+Build libyuv with SIMD optimizations on Linux x86.
+
+diff --git media/libyuv/include/libyuv/compare_row.h media/libyuv/include/libyuv/compare_row.h
+index 7abc2d4aef8f..161c12fa1b83 100644
+--- mozilla/media/libyuv/include/libyuv/compare_row.h
++++ mozilla/media/libyuv/include/libyuv/compare_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/planar_functions.h media/libyuv/include/libyuv/planar_functions.h
+index 040839c211b1..0d672dec96d6 100644
+--- mozilla/media/libyuv/include/libyuv/planar_functions.h
++++ mozilla/media/libyuv/include/libyuv/planar_functions.h
+@@ -719,8 +719,7 @@ int I420Interpolate(const uint8* src0_y,
+                     int height,
+                     int interpolation);
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/rotate_row.h media/libyuv/include/libyuv/rotate_row.h
+index 2c51584eee8b..73bbe8ef7ad4 100644
+--- mozilla/media/libyuv/include/libyuv/rotate_row.h
++++ mozilla/media/libyuv/include/libyuv/rotate_row.h
+@@ -18,8 +18,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/row.h media/libyuv/include/libyuv/row.h
+index f74bd9f7d17a..3bdfb75fc160 100644
+--- mozilla/media/libyuv/include/libyuv/row.h
++++ mozilla/media/libyuv/include/libyuv/row.h
+@@ -30,8 +30,7 @@ extern "C" {
+   free(var##_mem);                  \
+   var = 0
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
+diff --git media/libyuv/include/libyuv/scale_row.h media/libyuv/include/libyuv/scale_row.h
+index edb46cc8c647..fe78a80f81bd 100644
+--- mozilla/media/libyuv/include/libyuv/scale_row.h
++++ mozilla/media/libyuv/include/libyuv/scale_row.h
+@@ -19,8 +19,7 @@ namespace libyuv {
+ extern "C" {
+ #endif
+ 
+-#if defined(__pnacl__) || defined(__CLR_VER) || \
+-    (defined(__i386__) && !defined(__SSE2__))
++#if defined(__pnacl__) || defined(__CLR_VER)
+ #define LIBYUV_DISABLE_X86
+ #endif
+ // MemorySanitizer does not support assembly code yet. http://crbug.com/344505


More information about the svn-ports-head mailing list