aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-05-19 14:47:11 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2015-05-19 14:47:11 +0000
commit376ee136dd082f25ecd608143e59fb4f24899812 (patch)
treef5bc915b7d88619d990196c95017282de549068c /gcc
parenta60c51fe4803ad63d909c819642490630d893152 (diff)
downloadgcc-376ee136dd082f25ecd608143e59fb4f24899812.zip
gcc-376ee136dd082f25ecd608143e59fb4f24899812.tar.gz
gcc-376ee136dd082f25ecd608143e59fb4f24899812.tar.bz2
recog: Increase max number of alternatives.
With the vector facility support z13 mov patterns have more than 30 alternatives. gcc/ * recog.h: Increase MAX_RECOG_ALTERNATIVES. Change type of alternative_mask to uint64_t. From-SVN: r223367
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/recog.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bd18867..2f3b230 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * recog.h: Increase MAX_RECOG_ALTERNATIVES. Change type of
+ alternative_mask to uint64_t.
+
2015-05-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/66187
diff --git a/gcc/recog.h b/gcc/recog.h
index 463c748..3a09304 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see
/* Random number that should be large enough for all purposes. Also define
a type that has at least MAX_RECOG_ALTERNATIVES + 1 bits, with the extra
bit giving an invalid value that can be used to mean "uninitialized". */
-#define MAX_RECOG_ALTERNATIVES 30
-typedef unsigned int alternative_mask;
+#define MAX_RECOG_ALTERNATIVES 35
+typedef uint64_t alternative_mask;
/* A mask of all alternatives. */
#define ALL_ALTERNATIVES ((alternative_mask) -1)