Backed out changeset 4c1a64f8996a (bug 933257) for huge regression on benchmarks
authorTooru Fujisawa <arai_a@mac.com>
Tue, 15 Mar 2016 08:16:06 +0900
changeset 288658 da59d5f8a5580ce612d4b46110d108e7333cc2c1
parent 288657 b5620ba64fff810f2fd9bdc65fd0c8abe692bdfc
child 288659 7c53fd9ec1fef76b87533ac4158fd4eca7eef049
push id30087
push usercbook@mozilla.com
push dateTue, 15 Mar 2016 09:43:43 +0000
treeherdermozilla-central@5e14887312d4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs933257
milestone48.0a1
backs out4c1a64f8996abfcc7d32d32202c6def4d13ec5bd
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 4c1a64f8996a (bug 933257) for huge regression on benchmarks
modules/fdlibm/README.mozilla
modules/fdlibm/import.sh
modules/fdlibm/update.sh
deleted file mode 100644
--- a/modules/fdlibm/README.mozilla
+++ /dev/null
@@ -1,17 +0,0 @@
-This is the fdlibm library imported from
-https://github.com/freebsd/freebsd
-
-Upstream code can be viewed at
-  https://github.com/freebsd/freebsd/tree/master/lib/msun/src
-
-Each file is downloaded separately, as cloning whole repository takes so much
-resources.
-
-The in-tree copy is updated by running
-  sh update.sh
-from within the modules/fdlibm directory.
-
-Current version: [commit 0000000000000000000000000000000000000000].
-
-patches 01-16 fixes files to be usable within mozilla-central tree.
-See https://bugzilla.mozilla.org/show_bug.cgi?id=933257
deleted file mode 100644
--- a/modules/fdlibm/import.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-set -e
-
-BASE_URL=https://raw.githubusercontent.com/freebsd/freebsd/master/lib/msun/src
-
-function download_source() {
-    REMOTE_FILENAME=$1
-    LOCAL_FILENAME=$2
-    curl -o "src/${LOCAL_FILENAME}" "${BASE_URL}/${REMOTE_FILENAME}"
-}
-
-mkdir -p src
-
-# headers
-download_source math.h fdlibm.h
-download_source math_private.h math_private.h
-
-# Math.acos
-download_source e_acos.c e_acos.cpp
-
-# Math.acosh
-download_source e_acosh.c e_acosh.cpp
-
-# Math.asin
-download_source e_asin.c e_asin.cpp
-
-# Math.asinh
-download_source s_asinh.c s_asinh.cpp
-
-# Math.atan
-download_source s_atan.c s_atan.cpp
-
-# Math.atanh
-download_source e_atanh.c e_atanh.cpp
-
-# Math.atan2
-download_source e_atan2.c e_atan2.cpp
-
-# Math.cbrt
-download_source s_cbrt.c s_cbrt.cpp
-
-# Math.ceil
-download_source s_ceil.c s_ceil.cpp
-download_source s_ceilf.c s_ceilf.cpp
-
-# Math.cos
-download_source k_cos.c k_cos.cpp
-download_source s_cos.c s_cos.cpp
-
-# Math.cosh
-download_source e_cosh.c e_cosh.cpp
-
-# Math.exp
-download_source e_exp.c e_exp.cpp
-
-# Math.expm1
-download_source s_expm1.c s_expm1.cpp
-
-# Math.floor and Math.round
-download_source s_floor.c s_floor.cpp
-
-# Math.fround
-download_source s_floorf.c s_floorf.cpp
-
-# Math.hypot
-download_source e_hypot.c e_hypot.cpp
-
-# Math.log
-download_source e_log.c e_log.cpp
-
-# Math.log1p
-download_source s_log1p.c s_log1p.cpp
-
-# Math.log10
-download_source e_log10.c e_log10.cpp
-download_source k_log.h k_log.h
-
-# Math.log2
-download_source e_log2.c e_log2.cpp
-
-# Math.pow
-download_source e_pow.c e_pow.cpp
-
-# Math.sin
-download_source k_sin.c k_sin.cpp
-download_source s_sin.c s_sin.cpp
-
-# Math.sinh
-download_source e_sinh.c e_sinh.cpp
-
-# Math.sqrt
-download_source e_sqrt.c e_sqrt.cpp
-
-# Math.tan
-download_source k_tan.c k_tan.cpp
-download_source s_tan.c s_tan.cpp
-
-# Math.tanh
-download_source s_tanh.c s_tanh.cpp
-
-# Math.trunc
-download_source s_trunc.c s_trunc.cpp
-
-# dependencies
-download_source e_rem_pio2.c e_rem_pio2.cpp
-download_source k_exp.c k_exp.cpp
-download_source k_rem_pio2.c k_rem_pio2.cpp
-download_source s_copysign.c s_copysign.cpp
-download_source s_fabs.c s_fabs.cpp
-download_source s_scalbn.c s_scalbn.cpp
deleted file mode 100644
--- a/modules/fdlibm/update.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# Script to update the mozilla in-tree copy of the fdlibm library.
-# Run this within the /modules/fdlibm directory of the source tree.
-
-set -e
-
-API_BASE_URL=https://api.github.com/repos/freebsd/freebsd
-
-function get_commit {
-    curl -s "${API_BASE_URL}/commits?path=lib/msun/src&per_page=1" \
-        | python -c 'import json, sys; print(json.loads(sys.stdin.read())[0]["sha"])'
-}
-
-rm -rf src
-BEFORE_COMMIT=$(get_commit)
-sh ./import.sh
-COMMIT=$(get_commit)
-if [ ${BEFORE_COMMIT} != ${COMMIT} ]; then
-    echo "Latest commit is changed during import.  Please run again."
-    exit 1
-fi
-for FILE in $(ls patches/*.patch | sort); do
-    patch -p3 < ${FILE}
-done
-hg add src
-
-perl -p -i -e "s/\[commit [0-9a-f]{40}\]/[commit ${COMMIT}]/" README.mozilla
-
-echo "###"
-echo "### Updated fdlibm/src to ${COMMIT}."
-echo "### Remember to verify and commit the changes to source control!"
-echo "###"