2018-01-16 Jakub Jelinek <jakub@redhat.com>
+ PR rtl-optimization/86620
+ * params.def (max-sched-ready-insns): Bump minimum value to 1.
+
PR rtl-optimization/83213
* recog.c (peep2_attempt): Copy over CROSSING_JUMP_P from peepinsn
to last if both are JUMP_INSNs.
DEFPARAM(PARAM_MAX_SCHED_READY_INSNS,
"max-sched-ready-insns",
"The maximum number of instructions ready to be issued to be considered by the scheduler during the first scheduling pass.",
- 100, 0, 0)
+ 100, 1, 0)
/* This is the maximum number of active local stores RTL DSE will consider. */
DEFPARAM (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES,
2018-01-16 Jakub Jelinek <jakub@redhat.com>
+ PR rtl-optimization/86620
+ * gcc.dg/pr64935-2.c: Use --param=max-sched-ready-insns=1
+ instead of --param=max-sched-ready-insns=0.
+ * gcc.target/i386/pr83620.c: New test.
+ * gcc.dg/pr83620.c: New test.
+
PR tree-optimization/83843
* gcc.dg/store_merging_18.c: New test.
/* PR rtl-optimization/64935 */
/* { dg-do compile } */
-/* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=0 -fcompare-debug" } */
+/* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=1 -fcompare-debug" } */
/* { dg-require-effective-target scheduling } */
/* { dg-xfail-if "" { powerpc-ibm-aix* } } */
--- /dev/null
+/* PR rtl-optimization/86620 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -flive-range-shrinkage --param=max-sched-ready-insns=0" } */
+/* { dg-error "minimum value of parameter 'max-sched-ready-insns' is 1" "" { target *-*-* } 0 } */
+
+void
+foo (void)
+{
+}
--- /dev/null
+/* PR rtl-optimization/86620 */
+/* { dg-do compile { target int128 } } */
+/* { dg-options "-O2 -flive-range-shrinkage --param=max-sched-ready-insns=1 -Wno-psabi -mno-avx" } */
+
+typedef unsigned __int128 V __attribute__ ((vector_size (64)));
+
+V u, v;
+
+V
+foo (char c, short d, int e, long f, __int128 g)
+{
+ f >>= c & 63;
+ v = (V){f} == u;
+ return e + g + v;
+}