summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/mparam_h.in')
-rw-r--r--Build/source/libs/mpfr/mpfr-src/src/mparam_h.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in b/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in
index 750330afb83..d693cdad128 100644
--- a/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in
+++ b/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in
@@ -23,11 +23,16 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# error "MPFR Internal not included"
#endif
+/* Threshold when testing coverage */
+#if defined(MPFR_TUNE_COVERAGE)
+#define MPFR_TUNE_CASE "src/generic/coverage/mparam.h"
+#include "generic/coverage/mparam.h"
+
/* Note: the different macros used here are those defined by gcc,
for example with gcc -dM -E -xc /dev/null
As of gcc 4.2, you can also use: -march=native or -mtune=native */
-#if 1 /* no processor specific optimization for TeX Live */
+#elif 1 /* no processor specific optimization for TeX Live */
#define MPFR_TUNE_CASE "default"
#elif defined (__tune_pentium4__) /* Threshold for Pentium 4 */
#define MPFR_TUNE_CASE "src/x86_64/pentium4/mparam.h"
@@ -42,7 +47,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define MPFR_TUNE_CASE "src/x86/core2/mparam.h"
#include "x86/core2/mparam.h"
-#elif defined (__tune_k8__) /* Threshold for AMD 64 */
+#elif defined (__tune_k8__) && defined (__amd64__) /* AMD K8 */
#define MPFR_TUNE_CASE "src/amd/k8/mparam.h"
#include "amd/k8/mparam.h"
@@ -81,6 +86,10 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define MPFR_TUNE_CASE "src/hppa/mparam.h"
#include "hppa/mparam.h"
+#elif defined (__mips__) /* MIPS */
+#define MPFR_TUNE_CASE "src/mips/mparam.h"
+#include "mips/mparam.h"
+
#else
#define MPFR_TUNE_CASE "default"
#endif