+2018-12-18 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/87759
+ * lra-assigns.c (lra_split_hard_reg_for): Recalculate
+ non_reload_pseudos.
+
2018-12-18 Jakub Jelinek <jakub@redhat.com>
PR target/88464
"\n****** Splitting a hard reg after assignment #%d: ******\n\n",
lra_assignment_iter);
bitmap_initialize (&failed_reload_pseudos, ®_obstack);
+ bitmap_initialize (&non_reload_pseudos, ®_obstack);
+ bitmap_ior (&non_reload_pseudos, &lra_inheritance_pseudos, &lra_split_regs);
+ bitmap_ior_into (&non_reload_pseudos, &lra_subreg_reload_pseudos);
+ bitmap_ior_into (&non_reload_pseudos, &lra_optional_reload_pseudos);
for (i = lra_constraint_new_regno_start; i < max_regno; i++)
if (reg_renumber[i] < 0 && lra_reg_info[i].nrefs != 0
&& (rclass = lra_get_allocno_class (i)) != NO_REGS
}
bitmap_set_bit (&failed_reload_pseudos, i);
}
+ bitmap_clear (&non_reload_pseudos);
bitmap_initialize (&failed_reload_insns, ®_obstack);
EXECUTE_IF_SET_IN_BITMAP (&failed_reload_pseudos, 0, u, bi)
{
+2018-12-18 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/87759
+ * gcc.target/i386/pr87759.c: New.
+
2018-12-18 Jakub Jelinek <jakub@redhat.com>
PR target/88464
--- /dev/null
+/* PR rtl-optimization/87759 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -w -fschedule-insns -fselective-scheduling -ftrapv -fno-dce -fno-expensive-optimizations -fno-ipa-ra -fno-tree-dce -fno-tree-ter" } */
+
+int cc;
+
+void
+rc (__int128 *oi)
+{
+ __int128 qz = (__int128)2 << cc;
+
+ if (qz != 0)
+ {
+ if (cc != 0)
+ {
+ __int128 zp = 1;
+
+ for (;;)
+ {
+ unsigned __int128 *ar = &cc;
+ int y5;
+
+ if (oi != 0)
+ {
+ y3:
+ zp = *oi + *ar;
+ }
+
+ y5 = (cc + 1) == ((*ar /= *oi) << ((zp >>= 128) / cc));
+ qz += !!y5 ? 1 : qz == (*ar ^ zp + 1);
+ ++*oi;
+ }
+ }
+ else
+ ++qz;
+ }
+
+ goto y3;
+}