aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/s390/s390.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8393f03..1176ec3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-03-06 Robin Dapp <rdapp@linux.vnet.ibm.com>
+ * config/s390/s390.c (s390_option_override_internal): Set
+ PARAM_MIN_VECT_LOOP_BOUND
+
+2017-03-06 Robin Dapp <rdapp@linux.vnet.ibm.com>
+
* config/s390/s390.c (s390_asm_output_function_label): Use nopr %r0.
* config/s390/s390.md: Likewise.
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index e8265c6..e7ab128 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -14679,6 +14679,10 @@ s390_option_override_internal (bool main_args_p,
opts->x_param_values,
opts_set->x_param_values);
+ maybe_set_param_value (PARAM_MIN_VECT_LOOP_BOUND, 2,
+ opts->x_param_values,
+ opts_set->x_param_values);
+
/* Call target specific restore function to do post-init work. At the moment,
this just sets opts->x_s390_cost_pointer. */
s390_function_specific_restore (opts, NULL);