From: Walter Lee <walt@tilera.com>
To: <gcc-patches@gcc.gnu.org>
Subject: [PATCH] New port for TILEPro and TILE-Gx 3/7: gcc port
Date: Sat, 15 Oct 2011 11:09:00 -0000 [thread overview]
Message-ID: <4E9964C9.7080105@tilera.com> (raw)
In-Reply-To: <4E996398.2000507@tilera.com>
[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]
Here is the gcc port.
* config.gcc: Handle tilegx and tilepro.
* configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
tilegx and tilepro.
Add HAVE_AS_TLS check for tilegx and tilepro.
* configure: Regenerate.
* doc/contrib.texi: Add Mat Hostetter and self.
* doc/extend.texi (TILE-Gx Built-in Functions): New node.
Document instruction intrinsics and network accessing intrinsics.
(TILEPro Built-in Functions): New node. Document instruction
intrinsics and network accessing intrinsics.
* doc/install.texi (Specific, tilegx-*-linux*): Document it.
(Specific, tilepro-*-linux*): Likewise.
* doc/invoke.texi (TILE-Gx Options): New section.
(TILEPro Options): New section.
* doc/md.texi (TILE-Gx): New section.
(TILEPro): New section.
* common/config/tilegx/tilegx-common.c: New file.
* common/config/tilepro/tilepro-common.c: New file.
* config/tilegx/constraints.md: New file.
* config/tilegx/linux.h: New file.
* config/tilegx/mul_tables.c: New file.
* config/tilegx/predicates.md: New file.
* config/tilegx/sync.md: New file.
* config/tilegx/t-tilegx: New file.
* config/tilegx/tilegx-builtins.h: New file.
* config/tilegx/tilegx-c.c: New file.
* config/tilegx/tilegx-generic.md: New file.
* config/tilegx/tilegx-modes.def: New file.
* config/tilegx/tilegx-multiply.h: New file.
* config/tilegx/tilegx-protos.h: New file.
* config/tilegx/tilegx.c: New file.
* config/tilegx/tilegx.h: New file.
* config/tilegx/tilegx.md: New file.
* config/tilegx/tilegx.opt: New file.
* config/tilepro/constraints.md: New file.
* config/tilepro/linux.h: New file.
* config/tilepro/mul_tables.c: New file.
* config/tilepro/predicates.md: New file.
* config/tilepro/t-tilepro: New file.
* config/tilepro/tilepro-builtins.h: New file.
* config/tilepro/tilepro-c.c: New file.
* config/tilepro/tilepro-generic.md: New file.
* config/tilepro/tilepro-modes.def: New file.
* config/tilepro/tilepro-multiply.h: New file.
* config/tilepro/tilepro-protos.h: New file.
* config/tilepro/tilepro.c: New file.
* config/tilepro/tilepro.h: New file.
* config/tilepro/tilepro.md: New file.
* config/tilepro/tilepro.opt: New file.
Here is a change to a test to handle the new targets.
* testsuite/gcc.dg/20020312-2.c: Add a condition for
__tile__.
[-- Attachment #2: gcc.diff.gz --]
[-- Type: application/x-gzip, Size: 231637 bytes --]
[-- Attachment #3: gcc_testsuite.diff --]
[-- Type: text/plain, Size: 545 bytes --]
diff -r -u -p -N /home/packages/gcc-4.7.0-179959/gcc/testsuite/gcc.dg/20020312-2.c ./gcc/testsuite/gcc.dg/20020312-2.c
--- /home/packages/gcc-4.7.0-179959/gcc/testsuite/gcc.dg/20020312-2.c 2011-10-14 00:57:27.000000000 -0400
+++ ./gcc/testsuite/gcc.dg/20020312-2.c 2011-10-14 18:14:11.138743000 -0400
@@ -64,6 +64,8 @@ extern void abort (void);
# define PIC_REG "12"
#elif defined(__sparc__)
# define PIC_REG "l7"
+#elif defined(__tile__)
+# define PIC_REG "r51"
#elif defined(__TMS320C6X__)
# define PIC_REG "B14"
#elif defined(__v850)
next prev parent reply other threads:[~2011-10-15 10:47 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 10:49 New port for TILEPro and TILE-Gx Walter Lee
2011-10-15 10:51 ` [PATCH] New port for TILEPro and TILE-Gx 1/7: toplevel changes Walter Lee
2011-10-15 10:51 ` [PATCH] New port for TILEPro and TILE-Gx 2/7: changes in contrib Walter Lee
2011-10-20 17:11 ` Walter Lee
2011-10-15 11:09 ` Walter Lee [this message]
2011-10-15 18:33 ` [PATCH] New port for TILEPro and TILE-Gx 3/7: gcc port Joseph S. Myers
2011-10-20 16:40 ` Walter Lee
2011-10-20 20:55 ` Joseph S. Myers
2011-10-23 10:23 ` Walter Lee
2011-10-15 11:36 ` [PATCH] New port for TILEPro and TILE-Gx 4/7: libcpp port Walter Lee
2011-10-15 12:04 ` [PATCH] New port for TILEPro and TILE-Gx: 5/7 libgcc port Walter Lee
2011-10-15 19:00 ` Joseph S. Myers
2011-10-20 17:29 ` Walter Lee
2011-10-23 11:25 ` Walter Lee
2011-10-15 13:31 ` [PATCH] New port for TILEPro and TILE-Gx: 6/7 libgomp port Walter Lee
2011-10-15 14:25 ` [PATCH] New port for TILEPro and TILE-Gx: 7/7 wwwdocs changes Walter Lee
2011-10-16 18:51 ` Gerald Pfeifer
2011-10-30 17:14 ` [PING] New port for TILEPro and TILE-Gx Walter Lee
2011-11-07 17:03 ` [PING2] " Walter Lee
2011-11-07 22:27 ` Richard Henderson
2011-11-07 23:56 ` Walter Lee
2011-11-08 19:47 ` [PING2] New port for TILEPro Richard Henderson
2011-11-08 21:30 ` [PING2] New port for ... TILE-Gx Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E9964C9.7080105@tilera.com \
--to=walt@tilera.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).