mirror of git://gcc.gnu.org/git/gcc.git
HSA: enhance dump output
* hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR insns. (dump_hsa_symbol): Dump BRIG offset of hsa_symbols. From-SVN: r234379
This commit is contained in:
parent
2a85ddbbf1
commit
60d15bae0c
|
|
@ -1,3 +1,9 @@
|
||||||
|
2016-03-21 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR
|
||||||
|
insns.
|
||||||
|
(dump_hsa_symbol): Dump BRIG offset of hsa_symbols.
|
||||||
|
|
||||||
2016-03-21 Martin Liska <mliska@suse.cz>
|
2016-03-21 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
* ipa-icf.c (sem_function::parse): Skip static
|
* ipa-icf.c (sem_function::parse): Skip static
|
||||||
|
|
|
||||||
|
|
@ -721,6 +721,9 @@ dump_hsa_symbol (FILE *f, hsa_symbol *symbol)
|
||||||
|
|
||||||
if (symbol->m_type & BRIG_TYPE_ARRAY_MASK)
|
if (symbol->m_type & BRIG_TYPE_ARRAY_MASK)
|
||||||
fprintf (f, "[%lu]", (unsigned long) symbol->m_dim);
|
fprintf (f, "[%lu]", (unsigned long) symbol->m_dim);
|
||||||
|
|
||||||
|
if (symbol->m_directive_offset)
|
||||||
|
fprintf (f, " /* BRIG offset: %u */", symbol->m_directive_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dump textual representation of HSA IL operand OP to file F. */
|
/* Dump textual representation of HSA IL operand OP to file F. */
|
||||||
|
|
@ -929,7 +932,8 @@ dump_hsa_insn_1 (FILE *f, hsa_insn_basic *insn, int *indent)
|
||||||
fprintf (f, ", ");
|
fprintf (f, ", ");
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf (f, "]");
|
fprintf (f, "] /* default: BB %i */",
|
||||||
|
hsa_bb_for_bb (sbr->m_default_bb)->m_index);
|
||||||
}
|
}
|
||||||
else if (is_a <hsa_insn_arg_block *> (insn))
|
else if (is_a <hsa_insn_arg_block *> (insn))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue