projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2705c08
)
sim: microblaze: fix -Wunused-variable warnings
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 16 Dec 2023 03:44:27 +0000
(22:44 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 19 Dec 2023 10:51:10 +0000
(
05:51
-0500)
sim/microblaze/interp.c
patch
|
blob
|
history
diff --git
a/sim/microblaze/interp.c
b/sim/microblaze/interp.c
index
5e701e5
..
0096438
100644
(file)
--- a/
sim/microblaze/interp.c
+++ b/
sim/microblaze/interp.c
@@
-97,7
+97,6
@@
static void
set_initial_gprs (SIM_CPU *cpu)
{
int i;
- long space;
/* Set up machine just out of reset. */
PC = 0;
@@
-120,19
+119,14
@@
sim_engine_run (SIM_DESC sd,
int siggnal) /* ignore */
{
SIM_CPU *cpu = STATE_CPU (sd, 0);
- int needfetch;
signed_4 inst;
enum microblaze_instr op;
int memops;
int bonus_cycles;
int insts;
- int w;
- int cycs;
- signed_4 WLhash;
unsigned_1 carry;
bool imm_unsigned;
short ra, rb, rd;
- long immword;
unsigned_4 oldpc, newpc;
short delay_slot_enable;
short branch_taken;