Commit 0460418e authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Identify unknown ops

parent 2173447c
...@@ -141,7 +141,7 @@ static void print_alu_opcode(lima_t6xx_alu_op_e op) ...@@ -141,7 +141,7 @@ static void print_alu_opcode(lima_t6xx_alu_op_e op)
int_op = alu_opcode_names[op][0] == 'i'; int_op = alu_opcode_names[op][0] == 'i';
} else } else
printf("op_%02X", op); printf("alu_op_%02X", op);
/* For constant analysis */ /* For constant analysis */
is_instruction_int = int_op; is_instruction_int = int_op;
...@@ -152,7 +152,7 @@ static void print_ld_st_opcode(lima_t6xx_load_store_op_e op) ...@@ -152,7 +152,7 @@ static void print_ld_st_opcode(lima_t6xx_load_store_op_e op)
if (load_store_opcode_names[op]) if (load_store_opcode_names[op])
printf("%s", load_store_opcode_names[op]); printf("%s", load_store_opcode_names[op]);
else else
printf("op_%02X", op); printf("ldst_op_%02X", op);
} }
static bool is_embedded_constant_half = false; static bool is_embedded_constant_half = false;
...@@ -496,7 +496,7 @@ static void print_compact_branch_writeout_field(uint16_t word) ...@@ -496,7 +496,7 @@ static void print_compact_branch_writeout_field(uint16_t word)
} }
default: default:
{ {
printf("op_%d\n", word & 0x7); printf("br_op_%d\n", word & 0x7);
} }
} }
} }
......
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