summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-07Totally rework the Range class. Now the range is from [start, end)Nathan Binkert
to be consistent with the way that the stl works. It also makes lots of other stuff easier. (Maybe those guys were smart?) Overload the various comparison operators so that you can test for overlapping of ranges, etc. base/range.hh: Totally rework the Range class. Now the range is from [start, end) to be consistent with the way that the stl works. It also makes lots of other stuff easier. (Maybe those guys were smart?) Overload the various comparison operators so that you can test for overlapping of ranges, etc. make parse function private and offer operator= instead isValid -> valid and for you erik, I add comments test/Makefile: add range.o test/rangetest.cc: better tests --HG-- extra : convert_revision : dd58720aa3d02f20b03e933f2eaa3320c82bb27a
2004-02-06formattingNathan Binkert
--HG-- extra : convert_revision : 0cea17bd3a517a1838006d89fac8a923e4576394
2004-02-06Small cleanupNathan Binkert
--HG-- extra : convert_revision : 92f6dbd3d2c4336a0f03a9da5c390a7980ca08be
2004-02-06Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 158117a2cba91b8cb04f41a418155149bcbba777
2004-02-06Various extraction of common code into separate functions to make life easier.Erik Hallnor
--HG-- extra : convert_revision : ae303904e35975e65b4207f543ac93c9816e1f81
2004-02-05Modify the emulated system calls to support running the SPEC IntDavid Oehmke
benchmarks for alpha-linux. arch/alpha/alpha_linux_process.cc: Added some more ioctl commands to ignore. Set unlink and rename to the new functions. Ignore setrlimit, times and rt_sigaction. Should eventually provide a function for times. arch/alpha/alpha_tru64_process.cc: Added some more ioctl commands to ignore. Set unlink and rename to the new functions. Ignore setrlimit. sim/syscall_emul.cc: Added implementations for unlink and rename. sim/syscall_emul.hh: Added unlink and rename functions. Added a couple more ioctl requests to ignore. Print out the PC of any ioctl commands that fail. --HG-- extra : convert_revision : 8af21c7fa7d0645d3f9324c9ce70ad33590c3c8e
2004-02-04Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 2f3653bbd0ab20308dcff5db176dc926402e9ad7
2004-02-04Change IIC to use param class. Tweak parameters in CacheTags.Erik Hallnor
--HG-- extra : convert_revision : 8239a7befe49c81b6b1f239fc478910441f64352
2004-02-04More reformatting of reference parameter declarations.Steve Reinhardt
The last change only caught the ones with types that started with capitals. This pass catches the rest (mostly STL and uint*_t types). base/cprintf_formats.hh: cpu/simple_cpu/simple_cpu.cc: sim/serialize.cc: sim/serialize.hh: Change "foo_t& foo" to "foo_t &foo". --HG-- extra : convert_revision : fc7f7425db2aef33e490f952b5ce74c8c36d0d41
2004-02-03Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : e94049f2b2dfbd2f1a018ddd6c05a4882d0f4a82
2004-02-03Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest --HG-- extra : convert_revision : 9b8a94cbaacbbb4a53d15c0893ee4d3183f29ce0
2004-02-03Remote debugging cleanup and internal debugging supportNathan Binkert
base/kgdb.h: Remove flags that aren't used base/remote_gdb.cc: Better debugging: - Give each class a name() function so that the trace infrastructure knows the correct object name. - Make the remote debugger capable of detach. - Split out the RGDB trace flag into a bunch of specific flags. Remove dead code Add a new trap type base/remote_gdb.hh: Add a name() to the various objects for the trace system base/trace.hh: don't need a using directive add DPRINTFNR: debug printf, no flag, raw output kern/tru64/tru64_system.cc: use the INT trap type instead of IF --HG-- extra : convert_revision : 25e610216c6f43d5d328651bba915f71bade059e
2004-02-03Fix bug: forgot branchTarget() method on indirect branches.Steve Reinhardt
arch/alpha/isa_desc: Add missing branchTarget() method for indirect branches. cpu/static_inst.hh: Add comment clarifying when branchTarget() can be used on indirect branches. --HG-- extra : convert_revision : 0dcfb36a9792a338cefceb3d1501825abace7ac5
2004-02-02Fix handling of uncacheable loads. Make them wait until they're at the tail ofSteve Reinhardt
the ROB (so we know they're correct-path) before we mark them ready to issue. --HG-- extra : convert_revision : be1d431bdc939100d79a5fea3e415b3acf9e8d75
2004-02-02Get rid of LVQ-port function unit... only used for redundantSteve Reinhardt
multithreading, which has been gone for a long time. --HG-- extra : convert_revision : 717d13455483c3adc7b7cbbcc5f7493d51867974
2004-02-02Clean up some confusing ROBStation fields left over from SS (ea_comp, in_LSQ).Steve Reinhardt
Eliminate indirect decoder.cc dependence on rob_station.hh via full_cpu.hh. --HG-- extra : convert_revision : 9355cddd6cd8bbe100aae1b2d45d2752e76ba3f6
2004-02-02insn->instSteve Reinhardt
--HG-- extra : convert_revision : fcc556fb7e65855ec3c04ef272177c8e7a38fff9
2004-02-02Change "Foo& foo" declarations to "Foo &foo".Steve Reinhardt
This primarily to be internally consistent (sometimes we used one, sometimes the other, even within the same line of code!). I picked the latter to be symmetric with "Foo *foo". base/cprintf_formats.hh: base/range.hh: base/refcnt.hh: base/res_list.hh: base/statistics.hh: base/str.hh: cpu/exec_context.hh: cpu/simple_cpu/simple_cpu.cc: cpu/simple_cpu/simple_cpu.hh: sim/serialize.cc: sim/serialize.hh: sim/syscall_emul.hh: Change "Foo& foo" declarations to "Foo &foo". --HG-- extra : convert_revision : ca1b0e85a578b539214bda3b8d61ac23792f2e87
2004-02-02More conversions of ref-counted parameters to references:Steve Reinhardt
Statistics::NodePtr, StaticInstPtr, ethernet PacketPtr. base/statistics.hh: Change NodePtr parameters to Nodeptr &. cpu/exetrace.hh: Change StaticInstPtr parameters to StaticInstPtr &. dev/etherbus.cc: dev/etherbus.hh: dev/etherdump.cc: dev/etherdump.hh: dev/etherint.hh: dev/etherlink.cc: dev/etherlink.hh: dev/ethertap.cc: dev/ethertap.hh: change PacketPtr parameters to PacketPtr &. --HG-- extra : convert_revision : a778efdca33b0ec5beb76cf47db0e9e4728897ee
2004-02-02Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 0cceed934a4f44c27c8293780fc927ef2c00869d
2004-02-02Change the way the IIC way list is handled in the primary table.Erik Hallnor
--HG-- extra : convert_revision : 476f738d59446bdc43d1bd67950aac310b22a42c
2004-02-02Change MemReqPtr parameters to references.Steve Reinhardt
This avoids incrementing and decrementing the MemReq reference counters on every call and return. arch/alpha/alpha_memory.cc: arch/alpha/alpha_memory.hh: cpu/exec_context.hh: cpu/memtest/memtest.cc: cpu/memtest/memtest.hh: dev/alpha_console.cc: dev/alpha_console.hh: Change MemReqPtr parameters to references. --HG-- extra : convert_revision : 3ba18bdd9f996563988402576bfdd3430e1ab1e5
2004-02-02Make stats:dump_period work even if dump_cycle isn't set.Steve Reinhardt
--HG-- extra : convert_revision : 9e85c0fa0f6c5393dd8e91034a49975628cf825d
2004-01-30Fixed the spec2000.ini file and made some cosmetic changes to theAndrew Schultz
setup-spec script util/setup-spec: Made some changes so the information contained in the ini file explains what the init_param value corresponds to --HG-- extra : convert_revision : 4082209f920244c262150c224a92ea21a55febd5
2004-01-30Added the spec2000 ini fileAndrew Schultz
--HG-- extra : convert_revision : 981a5a536a25b07dd54ed0166b291876b0a498c0
2004-01-30Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 3d84d17bc48ad23edf97e53a096821318741d775
2004-01-30major rework/rewrite of the breakdown scriptSteve Raasch
--HG-- extra : convert_revision : 2e1d186e0f20b6089300b82a3f6dcb1d0b44c09d
2004-01-30Use $(MAKE) instead of 'make' when building libelf (suppresses an error ↵Steve Reinhardt
message about -j). Check for, delete, and die on zero-length .d files. --HG-- extra : convert_revision : 71b7f9e639d96fb7ed30952b142d69c34c725774
2004-01-30Fix libelf generation so it works on a clean make -j.Steve Reinhardt
--HG-- extra : convert_revision : 377633aa2c04695c598ee82a9529d2e40f0ffef7
2004-01-29Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : c03206291cfa9abd80b8ee3f2f0135eb23d10242
2004-01-29wrap debugging stuff with #ifdef DEBUGNathan Binkert
--HG-- extra : convert_revision : 8205633c1c1b49b04f389aa40f95fbbc03a43fb6
2004-01-29Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : a74364b249fc6164ef2752ff1e3d6e414b5ab79d
2004-01-29delete the data in the arglist when the list is destroyed,Nathan Binkert
not while printing out the data. This allows the data to be dumped more than once. base/cprintf.hh: need a destructor --HG-- extra : convert_revision : 235e9fe24488ac4c0ae1b562ef9fa6e0bd1e899c
2004-01-29whack debugging statementNathan Binkert
--HG-- extra : convert_revision : f623d35a6e5a234e2b203974012c653b91826dbf
2004-01-29Fix character input by handling the character and theNathan Binkert
special console values separately. dev/alpha_console.cc: use new console specific input function --HG-- extra : convert_revision : 08997d6115d2aac3a26cac2774b3c3fc0cd76ab0
2004-01-29Logical test fix.Erik Hallnor
--HG-- extra : convert_revision : 4b009938216748275e8b74f7a768a8ef257fb691
2004-01-29Add operator= to CacheBlk to simplify some functions.Erik Hallnor
--HG-- extra : convert_revision : 949a24f46f647dc2c4d0b60df4684b4f7164a04f
2004-01-29remove #include of nonexistent fileNathan Binkert
sim/universe.cc: oops. this doesn't exist --HG-- extra : convert_revision : 2cfb3680e4ebe3f27f22a79f853d4d6df445e65a
2004-01-29provide an output stream for simulator output. (This takes place of theNathan Binkert
statStream catchall that we had before) Also provide an optional output directory that multiple simulator output files can be written to. Make most output files use the output directory base/misc.cc: send warnings to the outputStream as well base/trace.cc: dprintf_stream defaults to cerr dev/console.cc: use the output directory for the console output if it exists dev/etherdump.cc: dump to the output directory if it exists sim/builder.cc: sim/builder.hh: move constructor and destructor to .cc file use a function to get the stream that the builder dumps its output to, and create a separate file in the output directory if able sim/main.cc: statStream -> outputStream sim/serialize.cc: dump checkpoints to the output directory if specified sim/universe.cc: provide an output stream for simulator output. (This takes place of the statStream catchall that we had before) Also provide an optional output directory that multiple simulator output files can be written to. --HG-- extra : convert_revision : 03abce20edbbf7ec19c9ddd8d69ec8485c383532
2004-01-29use $ENV{PWD} so that the amd paths work ok.Nathan Binkert
Also, compare real paths to ensure that the links point to the right place --HG-- extra : convert_revision : f4127a67f02b714808c6d2181fabf245ed2309c0
2004-01-29cleanup on aisle 5Nathan Binkert
base/statistics.cc: dead code --HG-- extra : convert_revision : 8f3fd638acdf7a704475ea90b607a3225a3c174d
2004-01-28Remove references to dep_tree to fix buildAndrew Schultz
--HG-- extra : convert_revision : dff311c1a18bd01750c1b5902410c23e0f43b798
2004-01-28removing the last vestages of the dep-tree stuff (hasn't worked for a LONG time)Steve Raasch
--HG-- extra : convert_revision : 145d56564ccca3a3c1c3d9115a4b8a5fb52c301d
2004-01-27Minor optimization of new LRU stack code.Steve Reinhardt
--HG-- extra : convert_revision : 953bc2f1ceab1cec9f48d65b94cc075655f6e9ec
2004-01-27Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : 2005ed2f551f2a80cbf62a41daaa3c4fa5af6fb3
2004-01-27a bunch of warning fixesNathan Binkert
arch/alpha/isa_desc: don't say warn: Warning: base/misc.cc: avoid printing two newlines in a row sim/main.cc: print out a message just before we enter the event queue --HG-- extra : convert_revision : 2a824d4b67661903fc739a0fb0759aa91d72382c
2004-01-27Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 47f69e4fb2d8727927e40fb6f2abf3dcab654c12
2004-01-27Remove SS-like code from lru.hh/ccErik Hallnor
--HG-- extra : convert_revision : 66baf998671a24e6a630d2f35c2f529418cd4d5b
2004-01-27Always write out a value for pending so that an m5.fast simulator canNathan Binkert
generate a checkpoint that an m5.debug simulator can use --HG-- extra : convert_revision : eec2d94013119236a9c65c9b5fb6c2ccb0480f51
2004-01-27Add trace flag for the sampling CPUNathan Binkert
--HG-- extra : convert_revision : 928588d46fa069e869416f4f5df8041849625e9f