diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2014-12-11 14:57:00 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2014-12-11 14:57:00 +0000 |
commit | b61d924dce738c5815dca04930b0e465e146f611 (patch) | |
tree | a30471db5183648c181d20e4a70febd6ce97f3e1 | |
parent | 08e39a540603d6a41caacdc340015c063997b2a2 (diff) | |
download | gcc-b61d924dce738c5815dca04930b0e465e146f611.zip gcc-b61d924dce738c5815dca04930b0e465e146f611.tar.gz gcc-b61d924dce738c5815dca04930b0e465e146f611.tar.bz2 |
gen-mul-tables.cc: Add insn-codes.h to include list for generator file.
2014-12-11 Andrew MacLeod <amacleod@redhat.com>
* config/tilepro/gen-mul-tables.cc: Add insn-codes.h to include list
for generator file. Add comment indicating it is a generated file.
* config/tilepro/mul-tables.c: Update generated file.
* config/tilegx/mul-tables.c: Likewise.
From-SVN: r218624
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/tilegx/mul-tables.c | 3 | ||||
-rw-r--r-- | gcc/config/tilepro/gen-mul-tables.cc | 4 | ||||
-rw-r--r-- | gcc/config/tilepro/mul-tables.c | 3 |
4 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa79ce9..66c9f1c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-12-11 Andrew MacLeod <amacleod@redhat.com> + + * config/tilepro/gen-mul-tables.cc: Add insn-codes.h to include list + for generator file. Add comment indicating it is a generated file. + * config/tilepro/mul-tables.c: Update generated file. + * config/tilegx/mul-tables.c: Likewise. + 2014-12-11 Segher Boessenkool <segher@kernel.crashing.org> * combine.c (try_combine): Do not allow combining a PARALLEL I2 diff --git a/gcc/config/tilegx/mul-tables.c b/gcc/config/tilegx/mul-tables.c index a902299..8c986f5 100644 --- a/gcc/config/tilegx/mul-tables.c +++ b/gcc/config/tilegx/mul-tables.c @@ -18,6 +18,9 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +/* Note this file is auto-generated from gen-mul-tables.cc. + Make any required changes there. */ + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/tilepro/gen-mul-tables.cc b/gcc/config/tilepro/gen-mul-tables.cc index 645fa32..32befa1 100644 --- a/gcc/config/tilepro/gen-mul-tables.cc +++ b/gcc/config/tilepro/gen-mul-tables.cc @@ -1249,10 +1249,14 @@ main () printf (" along with GCC; see the file COPYING3. If not see\n"); printf (" <http://www.gnu.org/licenses/>. */\n"); printf ("\n"); + printf ("/* Note this file is auto-generated from gen-mul-tables.cc.\n"); + printf (" Make any required changes there. */\n"); + printf ("\n"); printf ("#include \"config.h\"\n"); printf ("#include \"system.h\"\n"); printf ("#include \"coretypes.h\"\n"); printf ("#include \"expr.h\"\n"); + printf ("#include \"insn-codes.h\"\n"); printf ("#include \"optabs.h\"\n"); printf ("#include \"%s-multiply.h\"\n\n", ARCH); create_insn_code_compression_table (); diff --git a/gcc/config/tilepro/mul-tables.c b/gcc/config/tilepro/mul-tables.c index c8eda94..b510e26 100644 --- a/gcc/config/tilepro/mul-tables.c +++ b/gcc/config/tilepro/mul-tables.c @@ -18,6 +18,9 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +/* Note this file is auto-generated from gen-mul-tables.cc. + Make any required changes there. */ + #include "config.h" #include "system.h" #include "coretypes.h" |