summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-08-20 12:17:30 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-08-20 12:17:30 +0000
commit795a1588879a72691f4d984b80155322c4e11ac1 (patch)
tree805eca88a13dabcb00f135726c3bb58334d6596e
parenta5997262942f80375a23688fb645facce69c6bef (diff)
downloadmpfr-795a1588879a72691f4d984b80155322c4e11ac1.tar.gz
[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
-rw-r--r--src/mparam_h.in8
1 files changed, 7 insertions, 1 deletions
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"