gem5/cpu
Steve Reinhardt 0aaf8ec6b8 Add support for CPU models to execute the effective
address calculation and memory access portions separately.
Not currently used by any CPU models, but Kevin says he needs this.

Also clean up handling of execution tracing for memory accesses
(move it all into isa_desc and out of CPU models).

Got rid of some ancient unused code too.

arch/alpha/isa_desc:
    Add execute() methods to EAComp and MemAcc portions of memory
    access instructions, to allow CPU models to execute the effective
    address calculation and memory access portions separately.

    Requires the execution context to remember the effective address
    across the two invocations.  Added setEA() and getEA() methods to
    execution context to support this.  A model that does not use the
    split execution model can panic if these methods are called.

    Also added hook to call traceData->setAddr() after EA computation
    on any load or store operation.
arch/isa_parser.py:
    Call traceData->setData() on memory writes (stores).
cpu/simple_cpu/simple_cpu.cc:
    Get rid of unused code.
cpu/simple_cpu/simple_cpu.hh:
    Add (non-functional) setEA() and getEA() methods for new
    split memory access execution support.

--HG--
extra : convert_revision : bc2d2c758c4ca753812b9fa81f21038e55929ff0
2005-02-03 20:47:11 -05:00
..
full_cpu Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
memtest Modified to work with do_events 2004-12-14 13:15:54 -05:00
simple_cpu Add support for CPU models to execute the effective 2005-02-03 20:47:11 -05:00
trace Forgot about the tracing cpus for the changes to the base class 2004-11-03 22:30:13 -05:00
base_cpu.cc Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code, 2005-01-14 18:34:56 -05:00
base_cpu.hh Add simple function-tracing support. Prints a message 2004-11-16 17:20:38 -05:00
exec_context.cc - Clean up and factor out all of the binning code into a 2004-08-20 11:35:31 -04:00
exec_context.hh Macros are nasty, so let's get rid of them. Convert all 2004-11-13 14:01:38 -05:00
exetrace.cc Minor fixes for pc sampling profile. 2004-11-15 19:57:11 -05:00
exetrace.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
inst_seq.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
intr_control.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
intr_control.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
pc_event.cc switch contexts on palcode rather than kernel code 2004-09-16 00:37:21 -04:00
pc_event.hh pc event now clears lower 2 bits 2004-09-16 15:11:38 -04:00
static_inst.cc Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code, 2005-01-14 18:34:56 -05:00
static_inst.hh Fixes so m5 compiles on gcc 3.4, which has much stricter syntax. Most changes come from templated code, 2005-01-14 18:34:56 -05:00