+2016-11-16 Andrew PInski <apinski@cavium.com>
+
+ * config/aarch64/aarch64.opt (mverbose-cost-dump): New option.
+ * config/aarch64/aarch64.c (aarch64_rtx_costs): Use
+ flag_aarch64_verbose_cost instead of checking for details dump.
+ (aarch64_rtx_costs_wrapper): Likewise.
+
2016-11-16 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/78378
break;
}
- if (dump_file && (dump_flags & TDF_DETAILS))
+ if (dump_file
+ && flag_aarch64_verbose_cost)
fprintf (dump_file,
"\nFailed to cost RTX. Assuming default cost.\n");
{
bool result = aarch64_rtx_costs (x, mode, outer, param, cost, speed);
- if (dump_file && (dump_flags & TDF_DETAILS))
+ if (dump_file
+ && flag_aarch64_verbose_cost)
{
print_rtl_single (dump_file, x);
fprintf (dump_file, "\n%s cost: %d (%s)\n",
Enable the division approximation. Enabling this reduces
precision of division results to about 16 bits for
single precision and to 32 bits for double precision.
+
+mverbose-cost-dump
+Common Undocumented Var(flag_aarch64_verbose_cost)
+Enables verbose cost model dummping in the debug dump files.