Commit d82c879a authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Use new-style compact branches

parent 29a7c268
......@@ -535,37 +535,6 @@ static float float_bitcast(uint32_t integer)
return v.f;
}
#if 0
static void print_fb_op(int op) {
switch(op) {
DEFINE_CASE(FB_JUMP, "jump");
DEFINE_CASE(FB_BRANCH, "branch");
DEFINE_CASE(FB_WRITE, "write");
default:
printf("op_%d", op);
break;
}
}
static void print_fb_field(uint16_t* words, uint16_t reg_word, unsigned tabs)
{
lima_t6xx_fb_field_t *fb = (lima_t6xx_fb_field_t *) words;
ogt_asm_print_tabs(tabs);
printf("fb.");
print_fb_op(fb->op);
printf(" ");
printf("0x%X, ", fb->next);
printf("%d, ", fb->offset);
printf("0x%X, ", fb->condition);
printf("\n");
}
#endif
static void print_alu_word(uint32_t* words, unsigned num_quad_words,
unsigned tabs)
{
......@@ -654,7 +623,7 @@ static void print_alu_word(uint32_t* words, unsigned num_quad_words,
if ((control_word >> 26) & 1)
{
//print_fb_field(word_ptr, *beginning_ptr, tabs);
print_compact_branch_writeout_field(*word_ptr);
beginning_ptr += 1;
word_ptr += 1;
num_words += 1;
......
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