diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-16 21:42:27 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-16 21:42:27 +0000 |
commit | 84bbbc3577f6191dca8be835e91c742f4ca865fd (patch) | |
tree | 81ce2e2b6c8b737419b0d1d1e899a6e873402f9e /sim/ppc/cpu.c | |
parent | cd2b240203746798651ee052ac0ce7bd31a9263d (diff) | |
download | gdb-84bbbc3577f6191dca8be835e91c742f4ca865fd.zip gdb-84bbbc3577f6191dca8be835e91c742f4ca865fd.tar.gz gdb-84bbbc3577f6191dca8be835e91c742f4ca865fd.tar.bz2 |
Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success
Diffstat (limited to 'sim/ppc/cpu.c')
-rw-r--r-- | sim/ppc/cpu.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sim/ppc/cpu.c b/sim/ppc/cpu.c index 6defe2f..33094fe 100644 --- a/sim/ppc/cpu.c +++ b/sim/ppc/cpu.c @@ -62,9 +62,6 @@ struct _cpu { event_queue *events; int cpu_nr; - /* Current functional unit information */ - function_unit *func_unit; - /* Current CPU model information */ model_data *model_ptr; @@ -107,10 +104,6 @@ cpu_create(psim *system, processor->cpu_nr = cpu_nr; processor->monitor = monitor; - /* Create function unit if desired */ - if (WITH_FUNCTION_UNIT) - processor->func_unit = function_unit_create (); - return processor; } @@ -121,9 +114,6 @@ cpu_init(cpu *processor) memset(&processor->regs, 0, sizeof(processor->regs)); /* FIXME - should any of VM be inited also ? */ - if (WITH_FUNCTION_UNIT) - function_unit_init (processor->func_unit); - model_init (processor, processor->model_ptr); } @@ -154,12 +144,6 @@ cpu_monitor(cpu *processor) return processor->monitor; } -INLINE_CPU function_unit * -cpu_function_unit(cpu *processor) -{ - return processor->func_unit; -} - INLINE_CPU model_data * cpu_model(cpu *processor) { @@ -263,9 +247,6 @@ cpu_halt(cpu *processor, signal); } else { - if (WITH_FUNCTION_UNIT) - function_unit_halt(processor, processor->func_unit); - model_halt(processor, processor->model_ptr); processor->program_counter = cia; psim_halt(processor->system, processor->cpu_nr, cia, reason, signal); |