gem5/arch/alpha
Kevin Lim a896960cbf FastCPU model added. It's very similar to the SimpleCPU, just without a lot of the stats tracking.
Also various changes to make the CPU model less ISA dependent, which includes moving the code that checks for interrupts up to the ISA level, moving code that zeroes the zero registers up to the ISA level, and removing opcode and ra from the regfile.

arch/alpha/alpha_memory.cc:
    The regfile has been changed so it no longer has the opcode and ra.  Instead the xc holds the actual instruction, and from there the opcode and ra can be obtained with OPCODE() and RA().
arch/alpha/ev5.cc:
    Moved code that once existed within simpleCPU to ev5, and templatized it.
    This way the CPU models can call processInterrupts and the ISA specific interrupt handling is left to the ISA's code.
    Also moved ISA specific zero registers from simpleCPU to here.
arch/alpha/ev5.hh:
    Added macros for obtaining the opcode and ra from the instruction itself, as there is no longer opcode or ra in the regfile.
arch/alpha/isa_desc:
    Added in declarations for the FastCPU model.
arch/alpha/isa_traits.hh:
    Removed opcode and ra from the regfile.  The xc now holds the actual instruction, and the opcode and ra can be obtained through it.
    Also added the declaration for the templated zeroRegisters() function, which will set the zero registers to 0.
arch/isa_parser.py:
    Added in FastCPUExecContext so it will generate code for the FastCPU model as well.
cpu/exec_context.cc:
    Added in a more generic trap function so "ev5_trap" doesn't need to be called.  It currently still calls the old method, with plans for making this ISA dependent in the future.
cpu/exec_context.hh:
    Exec context now has the instruction within it.  Also added methods for exec context to read an instruction from memory, return the current instruction, and set the instruction if needed.
    Also has declaration for more generic trap() function.
cpu/simple_cpu/simple_cpu.cc:
    Removed references to opcode and ra, and instead sets the xc's instruction with the fetched instruction.
cpu/static_inst.hh:
    Added declaration for execute() using FastCPUExecContext.

--HG--
extra : convert_revision : 0441ea3700ac50b733e485395d4dd4ac83666f92
2004-05-27 17:46:16 -04:00
..
alpha_linux_process.cc Fixes for Linux syscall emulation. 2004-02-10 21:43:57 -08:00
alpha_linux_process.hh Formatting & doxygen docs for new syscall emulation code. 2003-12-01 22:39:27 -08:00
alpha_memory.cc FastCPU model added. It's very similar to the SimpleCPU, just without a lot of the stats tracking. 2004-05-27 17:46:16 -04:00
alpha_memory.hh Basic cleanup pass to get rid of a few things that made the Python 2004-04-02 22:57:08 -08:00
alpha_tru64_process.cc Modify the emulated system calls to support running the SPEC Int 2004-02-05 12:16:17 -05:00
alpha_tru64_process.hh Formatting & doxygen docs for new syscall emulation code. 2003-12-01 22:39:27 -08:00
aout_machdep.h Minor documentation tweaks. 2003-10-16 12:41:35 -07:00
arguments.cc cleanup 2003-10-13 16:14:28 -04:00
arguments.hh Split up kernel.cc into separate files for dump_mbuf and printf 2003-10-13 17:24:27 -04:00
ecoff_machdep.h New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
ev5.cc FastCPU model added. It's very similar to the SimpleCPU, just without a lot of the stats tracking. 2004-05-27 17:46:16 -04:00
ev5.hh FastCPU model added. It's very similar to the SimpleCPU, just without a lot of the stats tracking. 2004-05-27 17:46:16 -04:00
faults.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
faults.hh More {Itb,Dtb} -> {ITB,DTB} renames (forgot to test build KERNEL). 2004-04-03 13:46:10 -08:00
isa_desc FastCPU model added. It's very similar to the SimpleCPU, just without a lot of the stats tracking. 2004-05-27 17:46:16 -04:00
isa_traits.hh FastCPU model added. It's very similar to the SimpleCPU, just without a lot of the stats tracking. 2004-05-27 17:46:16 -04:00
osfpal.cc Initial copy support in the pipeline. Add copypal counting. 2004-02-27 00:45:21 -05:00
osfpal.hh Initial copy support in the pipeline. Add copypal counting. 2004-02-27 00:45:21 -05:00
pseudo_inst.cc Major stats package cleanup 2004-05-04 17:01:00 -04:00
pseudo_inst.hh add a couple of hacks to get thigns going for ISCA 2003-11-07 05:06:22 -05:00
vtophys.cc fix up vtophys a bit 2004-02-13 15:36:21 -05:00
vtophys.hh fix up vtophys a bit 2004-02-13 15:36:21 -05:00