Commit 291b376a authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

midgard: Print destination tag with branches

parent 2cb7a081
......@@ -526,7 +526,9 @@ static void print_compact_branch_writeout_field(uint16_t word)
printf("unknown:%d, ", br_uncond.unknown);
if (br_uncond.offset >= 0)
printf("+");
printf("%d\n", br_uncond.offset);
printf("%d", br_uncond.offset);
printf(" -> %X\n", br_uncond.dest_tag);
break;
}
case midgard_jmp_writeout_op_branch_cond:
......@@ -544,7 +546,9 @@ static void print_compact_branch_writeout_field(uint16_t word)
printf(" ");
if (br_cond.offset >= 0)
printf("+");
printf("%d\n", br_cond.offset);
printf("%d", br_cond.offset);
printf(" -> %X\n", br_cond.dest_tag);
break;
}
default:
......@@ -581,7 +585,9 @@ static void print_extended_branch_writeout_field(uint64_t _word)
printf(" ");
if (br.offset >= 0)
printf("+");
printf("%d\n", br.offset);
printf("%d", br.offset);
printf(" -> %X\n", br.dest_tag);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment