+2021-05-01 Max Filippov <jcmvbkbc@gmail.com>
+
+ * xtensa-dis.c (print_insn_xtensa): Fill in info->insn_type and
+ info->insn_info_valid.
+
2021-04-26 Jan Beulich <jbeulich@suse.com>
* i386-opc.tbl (lea): Add Optimize.
if (nslots > 1)
(*info->fprintf_func) (info->stream, "{ ");
+ info->insn_type = dis_nonbranch;
+ info->insn_info_valid = 1;
+
first_slot = 1;
for (n = 0; n < nslots; n++)
{
(*info->fprintf_func) (info->stream, "%s",
xtensa_opcode_name (isa, opc));
+ if (xtensa_opcode_is_branch (isa, opc))
+ info->insn_type = dis_condbranch;
+ else if (xtensa_opcode_is_jump (isa, opc))
+ info->insn_type = dis_branch;
+ else if (xtensa_opcode_is_call (isa, opc))
+ info->insn_type = dis_jsr;
+
/* Print the operands (if any). */
noperands = xtensa_opcode_num_operands (isa, opc);
first = 1;