Add the nvptx port

Programming / Compilers / GCC - bernds [138bc75d-0d04-0410-961f-82ee72b054a4] - 10 November 2014 10:12 UTC

- configure.ac: Handle nvptx-*-*.
- configure: Regenerate.

gcc/
- config/nvptx/nvptx.c: New file.
- config/nvptx/nvptx.h: New file.
- config/nvptx/nvptx-protos.h: New file.
- config/nvptx/nvptx.md: New file.
- config/nvptx/t-nvptx: New file.
- config/nvptx/nvptx.opt: New file.
- common/config/nvptx/nvptx-common.c: New file.
- config.gcc: Handle nvptx-*-*.

libgcc/
- config.host: Handle nvptx-*-*.
- shared-object.mk (as-flags-$o): Define. ($(base)$(objext), $(base)_s$(objext)): Use it instead of
-xassembler-with-cpp.
- static-object.mk: Identical changes.
- config/nvptx/t-nvptx: New file.
- config/nvptx/crt0.s: New file.
- config/nvptx/free.asm: New file.
- config/nvptx/malloc.asm: New file.
- config/nvptx/realloc.c: New file.

8ce8078 Add the nvptx port.
ChangeLog | 5 +
configure | 4 +
configure.ac | 4 +
gcc/ChangeLog | 11 +
gcc/common/config/nvptx/nvptx-common.c | 38 +
gcc/config.gcc | 7 +
gcc/config/nvptx/nvptx-protos.h | 46 +
gcc/config/nvptx/nvptx.c | 2120 ++++++++++++++++++++++++++++++++
gcc/config/nvptx/nvptx.h | 356 ++++++
gcc/config/nvptx/nvptx.md | 1376 +++++++++++++++++++++
gcc/config/nvptx/nvptx.opt | 30 +
gcc/config/nvptx/t-nvptx | 2 +
libgcc/ChangeLog | 13 +
libgcc/config.host | 4 +
libgcc/config/nvptx/crt0.s | 45 +
libgcc/config/nvptx/free.asm | 50 +
libgcc/config/nvptx/malloc.asm | 55 +
libgcc/config/nvptx/nvptx-malloc.h | 26 +
libgcc/config/nvptx/realloc.c | 51 +
libgcc/config/nvptx/t-nvptx | 9 +
libgcc/shared-object.mk | 6 +-
libgcc/static-object.mk | 6 +-
22 files changed, 4260 insertions(+), 4 deletions(-)

Upstream: gcc.gnu.org


  • Share