3ccaee976a
Make the SPARC branch instructions use ExtMachInsts in their constructors. This isn't necessary since they don't use the extended fields, but it's more consistent and more correct.
Gabe Black
2007-03-16 10:55:50 +00:00
50475e0e2a
Merge zizzer:/bk/newmem into pb15.local:/Users/ali/work/m5.newmem
Ali Saidi
2007-03-15 23:21:52 -04:00
a18baae026
fix a bug gabe found
Ali Saidi
2007-03-15 23:21:01 -04:00
9ad3f1e479
Refactor things a little.
Gabe Black
2007-03-15 19:16:39 +00:00
f4eee4fb81
File with the predecoder in it.
Gabe Black
2007-03-15 19:16:38 +00:00
ae9bed4f8f
Split the x86 "process" predecoder method into it's own file.
Gabe Black
2007-03-15 19:16:37 +00:00
05c71c6194
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
Gabe Black
2007-03-15 19:16:36 +00:00
c6e1dc61c2
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-03-15 15:16:35 -04:00
3a5a20769b
add all the registers we'll need to support for the Intel GbE device and support enough functionality make the driver think the device is there, and in good working order.
Ali Saidi
2007-03-15 15:16:23 -04:00
6cdd434f7f
Changed warns to DPRINTFs and multiply by 8 where needed.
Gabe Black
2007-03-15 16:13:40 +00:00
075df1469f
Added immediate value support, and fixed alot of bugs. This won't support 3 byte opcodes.
Gabe Black
2007-03-15 15:29:39 +00:00
47c8d9d346
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-15 06:10:59 -04:00
b33f4623ab
Update to statetrace. This will break it, but I want to make sure it gets into mercurial.
Gabe Black
2007-03-15 06:10:50 -04:00
4379e54b52
Compile fix
Gabe Black
2007-03-15 03:17:00 +00:00
32368a2bd6
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
Gabe Black
2007-03-15 02:52:51 +00:00
a2b56088fb
Make the predecoder an object with it's own switched header file. Start adding predecoding functionality to x86.
Gabe Black
2007-03-15 02:47:42 +00:00
c6188a2264
fix segfault when peer owner attempts to use functional port
Ali Saidi
2007-03-13 17:34:52 -04:00
ff90b8c1aa
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-13 15:03:34 -04:00
ce18d900a1
Replaced makeExtMI with predecode. Removed the getOpcode function from StaticInst which only made sense for Alpha. Started implementing the x86 predecoder.
Gabe Black
2007-03-13 16:13:21 +00:00
a068d6db0f
fix interrupting during a quisce on sparc
Ali Saidi
2007-03-13 00:05:52 -04:00
247ee8ef74
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-03-12 20:17:44 -04:00
74db8adfbc
call ccprintf() with the appropriate argument types so we don't recuse forever
Ali Saidi
2007-03-12 20:16:13 -04:00
0d0e18a065
Added SPARC twolf regression.
Gabe Black
2007-03-12 17:57:14 -05:00
c6e85efc50
Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/head
Ron Dreslinski
2007-03-12 16:25:59 -05:00
8d38dd3231
remove the extern C around gdb helper functions. It's need needed for any new version of gdb to work and it causes at least mine to segfault
Ali Saidi
2007-03-12 17:23:08 -04:00
1f3c3aa234
Fix mulscc.
Gabe Black
2007-03-12 17:07:10 -04:00
2a02087eb5
Clean up more memory leaks
Ron Dreslinski
2007-03-12 15:59:54 -05:00
ca8e95b480
Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/head
Ron Dreslinski
2007-03-12 13:42:49 -05:00
6415c47a5b
Fix some of the memory leaks related to writebacks
Ron Dreslinski
2007-03-12 13:15:32 -05:00
885b4f26bb
Get rid of those pesky valgrind warnings, Conditional jump or move depends on uninitialised value(s), in the stats package
Ali Saidi
2007-03-12 14:13:52 -04:00
1356fb953d
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-03-12 13:56:30 -04:00
9ad24e2248
move hver code to ua2005.cc
Ali Saidi
2007-03-12 13:56:09 -04:00
b3bdce81fd
Add the rename syscall.
Gabe Black
2007-03-12 01:54:15 -04:00
57650a201e
Fix the mnemonic and the branch displacement field size of the branch on floating point condition codes with prediction.
Gabe Black
2007-03-12 01:47:49 -04:00
fd114742c2
bzip2 is a tru64 regression, not linux
Gabe Black
2007-03-11 19:08:38 -04:00
d9c3b636b0
vortex is a tru64 regression and not linux
Gabe Black
2007-03-11 19:06:46 -04:00
26f440c44e
perlbmk is a tru64 regression, not a linux one
Gabe Black
2007-03-11 19:04:46 -04:00
431dec5cd5
eon is a tru64 regression, not a linux one
Gabe Black
2007-03-11 19:02:06 -04:00
c3f3c56237
parser is a tru64 regression, not linux.
Gabe Black
2007-03-11 19:00:00 -04:00
89da836bcf
gzip is really a tru64 regression, not linux
Gabe Black
2007-03-11 18:53:40 -04:00
c240d4af84
The alpha twolf regression was really for tru64, not linux.
Gabe Black
2007-03-11 18:44:36 -04:00
d22786828c
Make the SPEC regressions work for any isa/operating system.
Gabe Black
2007-03-11 18:21:05 -04:00
6a7e4a5904
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-11 18:19:38 -04:00
26c0426e44
Make sttw and sttwa use the twin memory operations.
Gabe Black
2007-03-11 18:12:33 -04:00
78cf033dc0
Merge zower:/home/gblack/m5/newmem-statetrace into zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test
Gabe Black
2007-03-11 15:01:42 -05:00
1aef5c06a3
Rework the way SCons recurses into subdirectories, making it automatic. The point is that now a subdirectory can be added to the build process just by creating a SConscript file in it. The process has two passes. On the first pass, all subdirs of the root of the tree are searched for SConsopts files. These files contain any command line options that ought to be added for a particular subdirectory. On the second pass, all subdirs of the src directory are searched for SConscript files. These files describe how to build any given subdirectory. I have added a Source() function. Any file (relative to the directory in which the SConscript resides) passed to that function is added to the build. Clean up everything to take advantage of Source(). function is added to the list of files to be built.
Nathan Binkert
2007-03-10 23:00:54 -08:00
52ec0fe3d9
Merge zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace-test
Gabe Black
2007-03-10 20:52:55 -05:00
780489d58b
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-10 19:52:53 -05:00
91c812c34d
Merge zower:/home/gblack/m5/newmem-statetrace into zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test
Gabe Black
2007-03-10 19:44:00 -05:00
7e363e14f7
Fix bounds check for the cwp
Gabe Black
2007-03-10 19:29:31 -05:00
91e8729c28
Added implementations of the fpop2 instructions.
Gabe Black
2007-03-10 19:26:54 -05:00
e98265b7d6
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem into zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test
Gabe Black
2007-03-10 18:00:49 -05:00
bf4dade64a
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace-test
Gabe Black
2007-03-10 17:46:25 -05:00
c5b49bdbad
If you can't get rid of the files you want to make sure are gone, assume they're already gone. Print a warning and move on.
Gabe Black
2007-03-10 17:45:53 -05:00
23bcd2654a
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem into zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test
Gabe Black
2007-03-10 17:42:53 -05:00
25dc5569c3
Compilation fix
Gabe Black
2007-03-10 15:21:55 -05:00
ef6dfc2983
I thought this code got deleted, but since it hasn't I've moved it to a place where it doesn't access freed memory.
Ali Saidi
2007-03-10 15:00:41 -05:00
df1ea2cf05
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-09 18:32:13 -05:00
f1e3e1c305
Use the TheISA namespace in case we're coming from a file that doesn't do that for us. This should be contained in the scope of the function and not leak elsewhere.
Gabe Black
2007-03-09 22:14:25 +00:00
03ff1c3167
Split the syscall table, SPARC specific syscall implementations, and the 32 bit syscall table into it's own file. Corrected problems with the stat structure. These should be tested on 64 bit x86 and SPARC machines.
Gabe Black
2007-03-09 17:14:24 -05:00
dc4d47bad4
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-03-09 16:56:52 -05:00
58f69391ca
implement ipi stufff for SPARC
Ali Saidi
2007-03-09 16:56:39 -05:00
9d026ac006
fix regress... SPARC_FS may not be in the builds so check for it
Ali Saidi
2007-03-09 16:27:24 -05:00
ad44834907
Two fixes: 1. Make sure connectMemPorts() only gets called when the CPU's peer gets changed. This is done by making setPeer() virtual, and overriding it in the CPU's ports. When it gets called on a CPU's port (dcache specifically), it calls the normal setPeer() function, and also connectMemPorts(). 2. Consolidate redundant code that handles switching in a CPU.
Kevin Lim
2007-03-09 10:06:09 -05:00
1158da37fb
Panic if any CMT registers are accessed
Ali Saidi
2007-03-08 21:49:13 -05:00
027dfa01e6
stop m5 from leaking like a sieve don't create a new physPort/virtPort every time activateContext() is called add the ability to tell a memory object to delete it's reference to a port and a method to have a port call deletePortRefs() on the port owner as well as delete it's peer still need to stop calling connectMemoPorts() every time activateContext() is called or we'll overflow the bus id and panic
Ali Saidi
2007-03-08 18:57:15 -05:00
c40d95e4c4
Fixed an off-by-one error.
Gabe Black
2007-03-08 00:55:16 -05:00
46051c5f65
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-08 00:42:30 -05:00
5caf721074
Fix up the SPARC initial stack frame to match an actual 32 bit process.
Gabe Black
2007-03-08 00:29:37 -05:00
87fb0eb8de
I missed a couple of WithEffects, this should do it
Ali Saidi
2007-03-07 21:51:44 -05:00
2f7a4e1d1b
fix compiling of FS after Gabe's last compile
Ali Saidi
2007-03-07 21:50:09 -05:00
54fc750924
Move the magic m5 PageTableFault into sim/faults.[hh,cc] since it's the same across all architectures.
Gabe Black
2007-03-07 20:04:46 +00:00
8edc9d79ce
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
Gabe Black
2007-03-07 20:04:45 +00:00
49527ab553
Merge zizzer:/bk/newmem into zeep.pool:/tmp/newmem
Ali Saidi
2007-03-07 15:04:44 -05:00
689cab36c9
*MiscReg->*MiscRegNoEffect, *MiscRegWithEffect->*MiscReg
Ali Saidi
2007-03-07 15:04:31 -05:00
c822513269
Add setData functions for the new Twin??_t types.
Gabe Black
2007-03-07 17:46:06 +00:00
f04e535f26
Add some constructors and an output operator to the Twin??_t types so that o3 SPARC will compile again.
Gabe Black
2007-03-07 17:46:05 +00:00
b7ea19760a
Make byteswap work correctly on Twin??_t types.
Gabe Black
2007-03-07 17:46:04 +00:00
ea7bdf9f60
Merge zizzer:/bk/newmem into udhcp-macvpn-108.public.engin.umich.edu:/Users/ali/work/m5.newmem
Ali Saidi
2007-03-07 12:46:03 -05:00
44b732691f
If we're running the quick tests, remove the SPARC_FS build since we don't have any quick SPARC_FS tests at the moment
Ali Saidi
2007-03-07 12:45:21 -05:00
44f91bb444
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
Gabe Black
2007-03-06 20:58:44 +00:00
329db76e47
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-03-06 15:58:43 -05:00
5b1970d1a3
Add regression for SPARC "hard" instruction test. Only runs in simple-atomic right now since we don't have cache support for the atomic instructions.
Ali Saidi
2007-03-06 15:57:28 -05:00
44f215f44d
Python parameters types need analogous C++ types
Nathan Binkert
2007-03-06 11:16:15 -08:00
d55b25cde6
Move all of the parameters of the Root SimObject so they are directly configured by python. Move stuff from root.(cc|hh) to core.(cc|hh) since it really belogs there now. In the process, simplify how ticks are used in the python code.
Nathan Binkert
2007-03-06 11:13:43 -08:00
05c86ec0d7
Get X86 to load an elf and start a process for it.
Gabe Black
2007-03-06 15:42:30 +00:00
f800fddcea
Python atexit handlers are called in reverse order. Fix things so the stats dump happens last.
Nathan Binkert
2007-03-05 20:14:00 -08:00
f776ec84c1
Merge zizzer.eecs.umich.edu:/bk/newmem into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black
2007-03-05 20:54:36 -05:00
9b72ff8290
Fixing statetrace to work with 32 bit SPARC processes, as well as rewritting it's single stepping code.
Gabe Black
2007-03-05 20:54:20 -05:00
992fda55f9
Fill out a stub version of the vtophys header file.
Gabe Black
2007-03-05 17:59:04 +00:00
296891b1c5
Add in NumGDBRegs so the constructor to the base class can get all it's arguments.
Gabe Black
2007-03-05 17:58:15 +00:00
a473d50e4c
Reorganize the floating point register file a little.
Gabe Black
2007-03-05 17:57:26 +00:00
a46e100bd9
Add some new source files.
Gabe Black
2007-03-05 17:56:26 +00:00
a41b86ba01
Stub decoder. This is probably even farther from finished than it looks...
Gabe Black
2007-03-05 16:16:28 +00:00
82235b8240
Add stub for x86 process creation
Gabe Black
2007-03-05 16:15:13 +00:00
d539052b63
Add x86 version of call to "decode"
Gabe Black
2007-03-05 16:13:50 +00:00
fc7f9ab80a
Add x86 to the Arch enum in the object file class.
Gabe Black
2007-03-05 16:12:20 +00:00
a0294c10cd
Added missing include.
Gabe Black
2007-03-05 16:11:07 +00:00
ecfc622451
Added LargestRead type for x86. I might have picked the wrong type.
Gabe Black
2007-03-05 16:10:11 +00:00