2006-10-27 17:13:39 +00:00
|
|
|
/* Generic x86 gmp-mparam.h -- Compiler/machine parameter header file.
|
|
|
|
|
2011-09-20 08:18:47 +00:00
|
|
|
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
|
|
|
|
2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
2006-10-27 17:13:39 +00:00
|
|
|
|
|
|
|
This file is part of the GNU MP Library.
|
|
|
|
|
|
|
|
The GNU MP Library is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Lesser General Public License as published by
|
2011-09-20 08:18:47 +00:00
|
|
|
the Free Software Foundation; either version 3 of the License, or (at your
|
2006-10-27 17:13:39 +00:00
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
The GNU MP Library is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
|
|
License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
2011-09-20 08:18:47 +00:00
|
|
|
along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
|
2006-10-27 17:13:39 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This gmp-mparam.h is a wrapper include file for the original gmp-mparam.h,
|
|
|
|
* which has been renamed to gmp-mparam-<arch>.h. There are conflicts for the
|
|
|
|
* original gmp-mparam.h on multilib systems, which result from arch-specific
|
|
|
|
* configuration options. Please do not use the arch-specific file directly.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006 Red Hat, Inc.
|
|
|
|
* Thomas Woerner <twoerner@redhat.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef gmp_mparam_wrapper_h
|
|
|
|
#error "gmp_mparam_wrapper_h should not be defined!"
|
|
|
|
#endif
|
|
|
|
#define gmp_mparam_wrapper_h
|
|
|
|
|
2007-08-07 13:52:23 +00:00
|
|
|
#if defined(__arm__)
|
|
|
|
#include "gmp-mparam-arm.h"
|
|
|
|
#elif defined(__i386__)
|
2006-10-27 17:13:39 +00:00
|
|
|
#include "gmp-mparam-i386.h"
|
2006-11-02 17:55:21 +00:00
|
|
|
#elif defined(__ia64__)
|
|
|
|
#include "gmp-mparam-ia64.h"
|
2006-10-27 17:13:39 +00:00
|
|
|
#elif defined(__powerpc64__)
|
2014-07-10 12:58:42 +00:00
|
|
|
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
2006-10-27 17:13:39 +00:00
|
|
|
#include "gmp-mparam-ppc64.h"
|
2014-07-10 12:58:42 +00:00
|
|
|
# else
|
|
|
|
#include "gmp-mparam-ppc64le.h"
|
|
|
|
# endif
|
2006-11-02 17:31:41 +00:00
|
|
|
#elif defined(__powerpc__)
|
2014-07-10 12:58:42 +00:00
|
|
|
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
2006-11-02 17:31:41 +00:00
|
|
|
#include "gmp-mparam-ppc.h"
|
2014-07-10 12:58:42 +00:00
|
|
|
# else
|
|
|
|
#include "gmp-mparam-ppcle.h"
|
|
|
|
# endif
|
2006-10-27 17:13:39 +00:00
|
|
|
#elif defined(__s390x__)
|
|
|
|
#include "gmp-mparam-s390x.h"
|
2006-11-02 17:55:21 +00:00
|
|
|
#elif defined(__s390__)
|
|
|
|
#include "gmp-mparam-s390.h"
|
|
|
|
#elif defined(__x86_64__)
|
|
|
|
#include "gmp-mparam-x86_64.h"
|
2007-03-14 12:07:26 +00:00
|
|
|
#elif defined(__alpha__)
|
2007-03-14 11:32:46 +00:00
|
|
|
#include "gmp-mparam-alpha.h"
|
2008-03-19 13:21:25 +00:00
|
|
|
#elif defined(__sh__)
|
|
|
|
#include "gmp-mparam-sh.h"
|
2008-04-24 21:50:18 +00:00
|
|
|
#elif defined(__sparc__) && defined (__arch64__)
|
|
|
|
#include "gmp-mparam-sparc64.h"
|
|
|
|
#elif defined(__sparc__)
|
|
|
|
#include "gmp-mparam-sparc.h"
|
2013-11-06 14:43:13 +00:00
|
|
|
#elif defined(__aarch64__)
|
|
|
|
#include "gmp-mparam-aarch64.h"
|
2015-09-04 11:54:45 +00:00
|
|
|
#elif defined(__mips64) && defined(__MIPSEL__)
|
|
|
|
#include "gmp-mparam-mips64el.h"
|
|
|
|
#elif defined(__mips64)
|
|
|
|
#include "gmp-mparam-mips64.h"
|
|
|
|
#elif defined(__mips) && defined(__MIPSEL__)
|
|
|
|
#include "gmp-mparam-mipsel.h"
|
|
|
|
#elif defined(__mips)
|
|
|
|
#include "gmp-mparam-mips.h"
|
2016-10-05 17:30:42 +00:00
|
|
|
#elif defined(__riscv64)
|
|
|
|
#include "gmp-mparam-riscv64.h"
|
2006-10-27 17:13:39 +00:00
|
|
|
#else
|
|
|
|
#error "The gmp-devel package is not usable with the architecture."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef gmp_mparam_wrapper_h
|