Blame SOURCES/gmp-mparam.h

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