Add nvptx port.

- From: Cesar Philippidis <cesar@codesourcery.com>
  Date: Tue, 10 Apr 2018 14:43:42 -0700
  Subject: [PATCH] nvptx port

  This port adds support for Nvidia GPU's, which are primarily used as
  offload accelerators in OpenACC and OpenMP.
This commit is contained in:
Jeff Johnston
2018-04-13 15:42:37 -04:00
parent e206c39bb6
commit cd31fbb2ae
132 changed files with 7504 additions and 113 deletions

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3753,6 +3753,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11456,7 +11462,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11459 "configure"
#line 11465 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11562,7 +11568,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11565 "configure"
#line 11571 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3728,6 +3728,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11473,7 +11479,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11476 "configure"
#line 11482 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11579,7 +11585,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11582 "configure"
#line 11588 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3726,6 +3726,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11471,7 +11477,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11474 "configure"
#line 11480 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11577,7 +11583,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11580 "configure"
#line 11586 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3726,6 +3726,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11429,7 +11435,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11432 "configure"
#line 11438 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11535,7 +11541,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11538 "configure"
#line 11544 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3722,6 +3722,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11467,7 +11473,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11470 "configure"
#line 11476 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11573,7 +11579,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11576 "configure"
#line 11582 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3727,6 +3727,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11430,7 +11436,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11433 "configure"
#line 11439 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11536,7 +11542,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11539 "configure"
#line 11545 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3722,6 +3722,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}
@ -11467,7 +11473,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11470 "configure"
#line 11476 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11573,7 +11579,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11576 "configure"
#line 11582 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3399,6 +3399,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}

View File

@ -3396,6 +3396,12 @@ else
fi
# Emit any target-specific warnings.
if test "x${newlib_msg_warn}" != "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
$as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
fi
# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
# use oext, which is set in configure.host based on the target platform.
OBJEXT=${oext}