sim: microblaze: fix -Wunused-variable warnings

This commit is contained in:
Mike Frysinger
2023-12-15 22:44:27 -05:00
parent 2705c08342
commit 96967be368

View File

@@ -97,7 +97,6 @@ static void
set_initial_gprs (SIM_CPU *cpu) set_initial_gprs (SIM_CPU *cpu)
{ {
int i; int i;
long space;
/* Set up machine just out of reset. */ /* Set up machine just out of reset. */
PC = 0; PC = 0;
@@ -120,19 +119,14 @@ sim_engine_run (SIM_DESC sd,
int siggnal) /* ignore */ int siggnal) /* ignore */
{ {
SIM_CPU *cpu = STATE_CPU (sd, 0); SIM_CPU *cpu = STATE_CPU (sd, 0);
int needfetch;
signed_4 inst; signed_4 inst;
enum microblaze_instr op; enum microblaze_instr op;
int memops; int memops;
int bonus_cycles; int bonus_cycles;
int insts; int insts;
int w;
int cycs;
signed_4 WLhash;
unsigned_1 carry; unsigned_1 carry;
bool imm_unsigned; bool imm_unsigned;
short ra, rb, rd; short ra, rb, rd;
long immword;
unsigned_4 oldpc, newpc; unsigned_4 oldpc, newpc;
short delay_slot_enable; short delay_slot_enable;
short branch_taken; short branch_taken;