From 795a1588879a72691f4d984b80155322c4e11ac1 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 20 Aug 2015 12:17:30 +0000 Subject: [src/mparam_h.in] Improved comment: __amd64__ is generic to all x86 processors with a 64-bit ABI (amd64, a.k.a. x86_64), thus suggest to move mparam.h files to more meaningful locations. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9648 280ebfd0-de03-0410-8827-d642c229c3f4 --- src/mparam_h.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mparam_h.in b/src/mparam_h.in index fd657a3d7..09b30efdf 100644 --- a/src/mparam_h.in +++ b/src/mparam_h.in @@ -45,7 +45,13 @@ 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__) || defined (__amd64__) /* AMD 64 */ +#elif defined (__tune_k8__) || defined (__amd64__) /* AMD 64, a.k.a. x86_64 */ +/* FIXME: The path is misleading since once may think that an AMD processor + has been detected, while __amd64__ is generic to all x86 processors with + a 64-bit ABI (amd64, a.k.a. x86_64). Move the file to some other place? + e.g. src/generic/amd64/mparam.h, or perhaps move subdirectories of "amd" + into x86_64 as done by GMP ("k8" wouldn't be wrong as this is the default + x86_64 architecture for GCC). */ #define MPFR_TUNE_CASE "src/amd/k8/mparam.h" #include "amd/k8/mparam.h" -- cgit v1.2.1