124026
/* Generic x86 gmp-mparam.h -- Compiler/machine parameter header file.
124026
124026
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
124026
2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
124026
124026
This file is part of the GNU MP Library.
124026
124026
The GNU MP Library is free software; you can redistribute it and/or modify
124026
it under the terms of the GNU Lesser General Public License as published by
124026
the Free Software Foundation; either version 3 of the License, or (at your
124026
option) any later version.
124026
124026
The GNU MP Library is distributed in the hope that it will be useful, but
124026
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
124026
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
124026
License for more details.
124026
124026
You should have received a copy of the GNU Lesser General Public License
124026
along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.  */
124026
124026
/*
124026
 * This gmp-mparam.h is a wrapper include file for the original gmp-mparam.h, 
124026
 * which has been renamed to gmp-mparam-<arch>.h. There are conflicts for the
124026
 * original gmp-mparam.h on multilib systems, which result from arch-specific
124026
 * configuration options. Please do not use the arch-specific file directly.
124026
 *
124026
 * Copyright (C) 2006 Red Hat, Inc.
124026
 * Thomas Woerner <twoerner@redhat.com>
124026
 */
124026
124026
#ifdef gmp_mparam_wrapper_h
124026
#error "gmp_mparam_wrapper_h should not be defined!"
124026
#endif
124026
#define gmp_mparam_wrapper_h
124026
124026
#if defined(__arm__)
124026
#include "gmp-mparam-arm.h"
124026
#elif defined(__i386__)
124026
#include "gmp-mparam-i386.h"
124026
#elif defined(__ia64__)
124026
#include "gmp-mparam-ia64.h"
124026
#elif defined(__powerpc64__)
124026
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
124026
#include "gmp-mparam-ppc64.h"
124026
# else
124026
#include "gmp-mparam-ppc64le.h"
124026
# endif
124026
#elif defined(__powerpc__)
124026
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
124026
#include "gmp-mparam-ppc.h"
124026
# else
124026
#include "gmp-mparam-ppcle.h"
124026
# endif
124026
#elif defined(__s390x__)
124026
#include "gmp-mparam-s390x.h"
124026
#elif defined(__s390__)
124026
#include "gmp-mparam-s390.h"
124026
#elif defined(__x86_64__)
124026
#include "gmp-mparam-x86_64.h"
124026
#elif defined(__alpha__)
124026
#include "gmp-mparam-alpha.h"
124026
#elif defined(__sh__)
124026
#include "gmp-mparam-sh.h"
124026
#elif defined(__sparc__) && defined (__arch64__)
124026
#include "gmp-mparam-sparc64.h"
124026
#elif defined(__sparc__)                      
124026
#include "gmp-mparam-sparc.h"
124026
#elif defined(__aarch64__)
124026
#include "gmp-mparam-aarch64.h"
124026
#elif defined(__mips64) && defined(__MIPSEL__)
124026
#include "gmp-mparam-mips64el.h"
124026
#elif defined(__mips64)
124026
#include "gmp-mparam-mips64.h"
124026
#elif defined(__mips) && defined(__MIPSEL__)
124026
#include "gmp-mparam-mipsel.h"
124026
#elif defined(__mips)
124026
#include "gmp-mparam-mips.h"
124026
#elif defined(__riscv)
124026
#if __riscv_xlen == 64
124026
#include "gmp-mparam-riscv64.h"
124026
#else
124026
#error "No support for riscv32"
124026
#endif
124026
#else
124026
#error "The gmp-devel package is not usable with the architecture."
124026
#endif
124026
124026
#undef gmp_mparam_wrapper_h