aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/visium/memcpy.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-01-06 08:50:12 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-01-06 08:50:12 +0000
commit0969ec7d5df9c55d0d0e4ecf30221f2096c98498 (patch)
tree0edeb5eefb9376aad7c7391332316f9d2fd7e437 /libgcc/config/visium/memcpy.h
parent9bd59e280ccdce94cf8bcffc753d073e20adf458 (diff)
downloadgcc-0969ec7d5df9c55d0d0e4ecf30221f2096c98498.zip
gcc-0969ec7d5df9c55d0d0e4ecf30221f2096c98498.tar.gz
gcc-0969ec7d5df9c55d0d0e4ecf30221f2096c98498.tar.bz2
configure.ac: Add Visium support.
* configure.ac: Add Visium support. * configure: Regenerate. libgcc/ * config.host: Add Visium support. * config/visium: New directory. gcc/ * config.gcc: Add Visium support. * configure.ac: Likewise. * configure: Regenerate. * doc/extend.texi (interrupt attribute): Add Visium. * doc/invoke.texi: Document Visium options. * doc/install.texi: Document Visium target. * doc/md.texi: Document Visium constraints. * common/config/visium: New directory. * config/visium: Likewise. gcc/testsuite/ * lib/target-supports.exp (check_profiling_available): Return 0 for Visium. (check_effective_target_tls_runtime): Likewise. (check_effective_target_logical_op_short_circuit): Return 1 for Visium. * gcc.dg/20020312-2.c: Adjust for Visium. * gcc.dg/tls/thr-cse-1.c: Likewise * gcc.dg/tree-ssa/20040204-1.c: Likewise * gcc.dg/tree-ssa/loop-1.c: Likewise. * gcc.dg/weak/typeof-2.c: Likewise. From-SVN: r219219
Diffstat (limited to 'libgcc/config/visium/memcpy.h')
-rw-r--r--libgcc/config/visium/memcpy.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libgcc/config/visium/memcpy.h b/libgcc/config/visium/memcpy.h
new file mode 100644
index 0000000..5df8176
--- /dev/null
+++ b/libgcc/config/visium/memcpy.h
@@ -0,0 +1,33 @@
+/* Copyright (C) 2012-2015 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ GCC 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 General Public
+ License for more details.
+
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+/* Specialized variants of memcpy called directly from compiled code. */
+
+extern void
+__long_int_memcpy (void *__restrict s1, const void *__restrict s2, size_t n);
+
+extern void
+__wrd_memcpy (void *__restrict s1, const void *__restrict s2, size_t n);
+
+extern void
+__byt_memcpy (void *__restrict s1, const void *__restrict s2, size_t n);