Gabe Black [Wed, 21 Feb 2007 00:24:45 +0000 (00:24 +0000)]
Update 50.vortex simple-atomic for 8k blk_size
--HG--
extra : convert_revision :
82a131bf16b856dadf62a678ce74350079433692
Gabe Black [Wed, 21 Feb 2007 00:23:52 +0000 (00:23 +0000)]
Update 40.perlbmk simple-timing for 8k blk_size
--HG--
extra : convert_revision :
461751061dc5db076f11e9c3b37da25cc47c583e
Gabe Black [Wed, 21 Feb 2007 00:23:02 +0000 (00:23 +0000)]
Update 40.perlbmk simple-atomic for 8k blk_size
--HG--
extra : convert_revision :
135274a64ead4962faa4f34b2df4e9de453cbe7f
Gabe Black [Wed, 21 Feb 2007 00:21:43 +0000 (00:21 +0000)]
Update 30.eon simple-timing for 8k blk_size. It's strange this is necessary because simple-atomic doesn't seem affected.
--HG--
extra : convert_revision :
6a8c77f0ca76eb06ac7eb5216af6adba3759c4c7
Ali Saidi [Thu, 15 Feb 2007 20:24:19 +0000 (15:24 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
f9fd4df544144a691bb5956e3f84036a61822547
Ali Saidi [Thu, 15 Feb 2007 20:24:08 +0000 (15:24 -0500)]
fixup remote gdb support for sparc fs
--HG--
extra : convert_revision :
5edf0ad492fe438d66bcf0ae469ef841cd71e157
Gabe Black [Wed, 14 Feb 2007 20:45:29 +0000 (15:45 -0500)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmem
--HG--
extra : convert_revision :
4878ca509f9982c065933a41ffc87808edb08b00
Gabe Black [Wed, 14 Feb 2007 18:05:20 +0000 (13:05 -0500)]
Reference outputs fixed to reflect branch mispredict change and 8k io buffers.
--HG--
extra : convert_revision :
24b0da355b6422cae4e4f7b664128c4612c55b2a
Gabe Black [Wed, 14 Feb 2007 17:58:28 +0000 (12:58 -0500)]
Force the st_blksize field of a stat call to be 8k.
--HG--
extra : convert_revision :
6cd2dc622ca95cc1ea89bd5e5cbf33d9510c351c
Ali Saidi [Tue, 13 Feb 2007 20:58:06 +0000 (15:58 -0500)]
Make mulitple consoles work and be distinguishable from each other
src/dev/alpha/tsunamireg.h:
get rid of things that aren't really tsunami registers
src/dev/platform.hh:
src/dev/uart.cc:
the uart pointer isn't used anymore
src/dev/simconsole.cc:
make the simconsole print something more useful to distinguish between various consoles in a single system
src/dev/uart8250.hh:
put the needed uart defines in here rather than including them from tsunamireg
src/python/m5/objects/T1000.py:
add a console to the T1000 config for the hypervisor
--HG--
extra : convert_revision :
76ca92122e611eaf76b989bc699582eef8297be8
Nathan Binkert [Tue, 13 Feb 2007 17:51:11 +0000 (09:51 -0800)]
Get rid of the MemoryTrace context since it is unused
--HG--
extra : convert_revision :
2b2ff5549e83473491b39272590b9af68e9d5fae
Nathan Binkert [Tue, 13 Feb 2007 17:39:35 +0000 (09:39 -0800)]
get rid of the ExeTrace.py file since we no longer use it
--HG--
extra : convert_revision :
1a20ef41684564e12555e2ff353f19b8a6275406
Steve Reinhardt [Tue, 13 Feb 2007 16:09:09 +0000 (08:09 -0800)]
Update MIPS ISA description to work with new write result interface
for store conditional.
--HG--
extra : convert_revision :
73efd2ca17994e0e19c08746441874a2ac8183af
Ali Saidi [Tue, 13 Feb 2007 15:07:50 +0000 (10:07 -0500)]
fix compiling problems
--HG--
extra : convert_revision :
9ecfd5a0a151c03503e42faf98240da12fd719b1
Nathan Binkert [Tue, 13 Feb 2007 08:59:01 +0000 (00:59 -0800)]
Merge all of the execution trace configuration stuff into
the traceflags infrastructure. InstExec is now just Exec
and all of the command line options are now trace options.
--HG--
extra : convert_revision :
4adfa9dfbb32622d30ef4e63c06c7d87da793c8f
Nathan Binkert [Tue, 13 Feb 2007 08:16:41 +0000 (00:16 -0800)]
Rearrange traceflags.py so that the file generation only happens if
the script is invoked as main. This allows us to import traceflags.py
if we just want the list of available flags.
Embed traceflags.py into the zipfile so it can be accessed from the
python side of things. With this, print an error on invalid flags and
add --trace-help option that will print out the list of trace flags
that are compiled in. If a flag is prefixed with a '-', now that flag
will be disabled.
--HG--
extra : convert_revision :
2260a596b07d127c582ff73474dbbdb0583db524
Ali Saidi [Mon, 12 Feb 2007 23:40:08 +0000 (18:40 -0500)]
some forgotten commits
--HG--
extra : convert_revision :
213440066c700ed5891a6d4568928b7f3f2fe750
Ali Saidi [Mon, 12 Feb 2007 18:58:03 +0000 (13:58 -0500)]
make hver match legion
--HG--
extra : convert_revision :
5bfe4b943ca5b3e30a7097a46cab4f93dadd714f
Ali Saidi [Mon, 12 Feb 2007 18:22:36 +0000 (13:22 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
src/cpu/simple/atomic.cc:
merge steve's changes in.
--HG--
extra : convert_revision :
a17eda37cd63c9380af6fe68b0aef4b1e1974231
Ali Saidi [Mon, 12 Feb 2007 18:06:30 +0000 (13:06 -0500)]
rename store conditional stuff as extra data so it can be used for conditional swaps as well
Add support for a twin 64 bit int load
Add Memory barrier and write barrier flags as appropriate
Make atomic memory ops atomic
src/arch/alpha/isa/mem.isa:
src/arch/alpha/locked_mem.hh:
src/cpu/base_dyn_inst.hh:
src/mem/cache/cache_blk.hh:
src/mem/cache/cache_impl.hh:
rename store conditional stuff as extra data so it can be used for conditional swaps as well
src/arch/alpha/types.hh:
src/arch/mips/types.hh:
src/arch/sparc/types.hh:
add a largest read data type for statically allocating read buffers in atomic simple cpu
src/arch/isa_parser.py:
Add support for a twin 64 bit int load
src/arch/sparc/isa/decoder.isa:
Make atomic memory ops atomic
Add Memory barrier and write barrier flags as appropriate
src/arch/sparc/isa/formats/mem/basicmem.isa:
add post access code block and define a twinload format for twin loads
src/arch/sparc/isa/formats/mem/blockmem.isa:
remove old microcoded twin load coad
src/arch/sparc/isa/formats/mem/mem.isa:
swap.isa replaces the code in loadstore.isa
src/arch/sparc/isa/formats/mem/util.isa:
add a post access code block
src/arch/sparc/isa/includes.isa:
need bigint.hh for Twin64_t
src/arch/sparc/isa/operands.isa:
add a twin 64 int type
src/cpu/simple/atomic.cc:
src/cpu/simple/atomic.hh:
src/cpu/simple/base.hh:
src/cpu/simple/timing.cc:
add support for twinloads
add support for swap and conditional swap instructions
rename store conditional stuff as extra data so it can be used for conditional swaps as well
src/mem/packet.cc:
src/mem/packet.hh:
Add support for atomic swap memory commands
src/mem/packet_access.hh:
Add endian conversion function for Twin64_t type
src/mem/physical.cc:
src/mem/physical.hh:
src/mem/request.hh:
Add support for atomic swap memory commands
Rename sc code to extradata
--HG--
extra : convert_revision :
69d908512fb34a4e28b29a6e58b807fb1a6b1656
Steve Reinhardt [Mon, 12 Feb 2007 17:27:32 +0000 (09:27 -0800)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into vm1.(none):/home/stever/bk/newmem-head
--HG--
extra : convert_revision :
496428e23050122a8a0029e5fddea261bef5729e
Steve Reinhardt [Mon, 12 Feb 2007 17:26:47 +0000 (09:26 -0800)]
Move store conditional result checking from SimpleAtomicCpu write
function into Alpha ISA description. write now just generically
returns a result value if the res pointer is non-null (which means
we can only provide a res pointer if we expect a valid result
value).
--HG--
extra : convert_revision :
fb1c315515787f5fbbf7d1af7e428bdbfe8148b8
Nathan Binkert [Mon, 12 Feb 2007 14:26:52 +0000 (06:26 -0800)]
cleanup
--HG--
extra : convert_revision :
84114216854dfcd468115bbf5398333e98056a58
Nathan Binkert [Mon, 12 Feb 2007 14:24:39 +0000 (06:24 -0800)]
Get rid of the FetchTrace since it doesn't appear to be
used anywhere at all.
--HG--
extra : convert_revision :
141a45f2ec8ff3d82fdc787ded459ff28c109763
Nathan Binkert [Sat, 10 Feb 2007 23:14:50 +0000 (15:14 -0800)]
Clean up tracing stuff more, get rid of the trace log since
its not all that useful. Fix a few bugs with python/C++
integration.
--HG--
extra : convert_revision :
a706512f7dc8b0c88f1ff96fe35ab8fbf9548b78
Nathan Binkert [Sat, 10 Feb 2007 00:44:02 +0000 (16:44 -0800)]
Get rid of the Random context and add the support directly to python.
We don't currently use randomness much, so I didn't go too far, but
in the future, we may want to actually expose the random number values
themselves to python. For now, I'll at least let you seed it.
While we're at it, clean up a clearly bad way for generating random
doubles.
--HG--
extra : convert_revision :
df2aa8b58dd0d9c2a7c771668a760b2df8db1e11
Nathan Binkert [Sat, 10 Feb 2007 00:30:06 +0000 (16:30 -0800)]
Clean up from my last commit to the trace stuff.
--HG--
extra : convert_revision :
b6a975d1c4195a764ba875bc3aaaa064be4955b7
Nathan Binkert [Fri, 9 Feb 2007 22:49:14 +0000 (14:49 -0800)]
Remove tracing file that's no longer needed
--HG--
extra : convert_revision :
2c216ae8bb6a2ae70aea7ecc641d2417b3f5e0b5
Nathan Binkert [Fri, 9 Feb 2007 22:39:56 +0000 (14:39 -0800)]
Get rid of the Trace ParamContext and give python direct
access to enabling/disabling tracing. Command line is
unchanged except for the removal of --trace-cycle since
it's not so clear what that means.
--HG--
extra : convert_revision :
c0164d92d3615d76d0c6acaabaafd92a9278212a
Nathan Binkert [Fri, 9 Feb 2007 04:59:11 +0000 (20:59 -0800)]
Use c99 variadic macros for non gnu compilers
--HG--
extra : convert_revision :
4e9fda42e9f5ed3e9f66e5bd178c45537792073b
Nathan Binkert [Thu, 8 Feb 2007 06:11:30 +0000 (22:11 -0800)]
Get rid of the gross operator,()/variadic macro hack
that made ccprintf and friends work, turn it into a
normal function (though it still has a slightly strange
implementation.) All instances of variadic macros
are not yet removed, but I know how, and it will happen.
One side effect of this new implementation is that a
cprintf statement can now only have 16 parameters, though
it's easy enough to raise this number if needed.
--HG--
extra : convert_revision :
85cb3c17f8e2ecf9cd2f31ea80a760a28ea127a7
Nathan Binkert [Thu, 8 Feb 2007 06:02:09 +0000 (22:02 -0800)]
Quick program to time how long ccprintf takes to write
to a stream compared to sprintf to a buffer.
--HG--
extra : convert_revision :
de80724943d18aa110aa39cde9414252d9a7944c
Steve Reinhardt [Thu, 8 Feb 2007 03:33:44 +0000 (22:33 -0500)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into zizzer.eecs.umich.edu:/z/stever/bk/newmem-head
--HG--
extra : convert_revision :
c56b8160b403fde235636ca5b5b4cecd206ffa4c
Ali Saidi [Wed, 7 Feb 2007 21:43:47 +0000 (16:43 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
60aabc4b93ef9d742f7e07363bd51f24170b85b8
Steve Reinhardt [Wed, 7 Feb 2007 18:55:14 +0000 (10:55 -0800)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into vm1.(none):/home/stever/bk/newmem-head
--HG--
extra : convert_revision :
c2350e01a052114a264f26551b13fca03a835c61
Steve Reinhardt [Wed, 7 Feb 2007 18:53:37 +0000 (10:53 -0800)]
Make memory commands dense again to avoid cache stat table explosion.
Created MemCmd class to wrap enum and provide handy methods to
check attributes, convert to string/int, etc.
--HG--
extra : convert_revision :
57f147ad893443e3a2040c6d5b4cdb1a8033930b
Steve Reinhardt [Wed, 7 Feb 2007 07:53:48 +0000 (23:53 -0800)]
More DPRINTF cleanup.
--HG--
extra : convert_revision :
db89cea42b46476d19333038522a6c144eafdab1
Nathan Binkert [Wed, 7 Feb 2007 06:32:37 +0000 (22:32 -0800)]
Initialize the variable to something.
--HG--
extra : convert_revision :
bfe1e70130719ff239987d725b089c6d7152c541
Nathan Binkert [Wed, 7 Feb 2007 06:31:15 +0000 (22:31 -0800)]
Include compiler.hh since we use some of the #defines
--HG--
extra : convert_revision :
1040addcf3f52d8d9fed2930890dadf524205af9
Steve Reinhardt [Wed, 7 Feb 2007 05:53:05 +0000 (21:53 -0800)]
Minor DPRINTF fixes.
--HG--
extra : convert_revision :
41956c9a480163ecac7807982215027e8ff1a4a9
Steve Reinhardt [Wed, 7 Feb 2007 05:16:33 +0000 (21:16 -0800)]
Add short memtest run to quick regressions.
Caveats:
- Even though memtest is ISA-independent, it will only
run for the Alpha builds, since there's no way to specify
ISA-independent reference files and I didn't want to commit
3 copies since I'm not sure we want to run it for all the
different ISAs anyway.
- Reference outputs were generated on my laptop,
so performance numbers will be low compared to zizzer.
--HG--
extra : convert_revision :
210fe4abecc19fbab0b15402c6cb4863650bab66
Ali Saidi [Tue, 6 Feb 2007 23:47:42 +0000 (18:47 -0500)]
merge my index fix and lisa's fix
--HG--
extra : convert_revision :
5f2c7d46c96fa061bbfb66edf188d405ca600020
Ali Saidi [Tue, 6 Feb 2007 23:22:33 +0000 (18:22 -0500)]
mark ldst[0] instrutions at DelayedCommit so we don't take an interrupt in the middle of one
--HG--
extra : convert_revision :
671549c2f0361679bc1e128744dcb60f44ea021e
Kevin Lim [Tue, 6 Feb 2007 20:54:44 +0000 (15:54 -0500)]
Fix for LL/SC that Ron sent me.
--HG--
extra : convert_revision :
b3510a23d8a9eb466939f38491a109c3a65a7363
Ali Saidi [Tue, 6 Feb 2007 20:52:33 +0000 (15:52 -0500)]
more fp fixes
fix unaligned accesses in mmaped disk device
src/arch/sparc/isa/decoder.isa:
get (ld|st)fsr ops working right. In reality the fp enable check needs to go higher up in the emitted code
src/arch/sparc/isa/formats/basic.isa:
move the cexec into the aexec field
src/cpu/exetrace.cc:
copy the exception state from legion when we get it wrong. We aren't going to get it right without an fp emulation layer
src/dev/sparc/mm_disk.cc:
src/dev/sparc/mm_disk.hh:
fix unaligned accesses in the memory mapped disk device
--HG--
extra : convert_revision :
aaa33096b08cf0563fe291d984a87493a117e528
Steve Reinhardt [Tue, 6 Feb 2007 18:06:11 +0000 (10:06 -0800)]
Use perl FindBin package to set path to rundiff to the
directory where tracediff is.
--HG--
extra : convert_revision :
f0cc0af264aa624cbacbf3ba42b6b64f90a8e759
Steve Reinhardt [Tue, 6 Feb 2007 18:04:44 +0000 (10:04 -0800)]
Fix for previous commit: need to ifdef NDEBUG on the
definition as well as the declaration.
--HG--
extra : convert_revision :
4f073fa6b47bf21abf58d92cb1c9eed699c9c89e
Steve Reinhardt [Tue, 6 Feb 2007 06:05:00 +0000 (22:05 -0800)]
Use an instance counter to give Events repeatable IDs
in debugging mode (especially valuable for tracediff).
--HG--
extra : convert_revision :
227434a06b5271a8300f2f6861bd06c4ac19e6c4
Ali Saidi [Sat, 3 Feb 2007 00:02:27 +0000 (19:02 -0500)]
more sparc fixes
src/arch/sparc/isa/decoder.isa:
fix rdgsr fault check
src/arch/sparc/tlb.cc:
block asis are now supported
--HG--
extra : convert_revision :
cf55d648d2c5184fab03b6fe057d0e33c1dfc393
Ali Saidi [Fri, 2 Feb 2007 23:05:21 +0000 (18:05 -0500)]
make interrupt code serialize itself and fix indenting
--HG--
extra : convert_revision :
d0bb23c7922568586b640084ac719e809cc8422f
Ali Saidi [Fri, 2 Feb 2007 23:04:42 +0000 (18:04 -0500)]
fix mostly floating point related
src/arch/sparc/floatregfile.cc:
fix fp read/writing to registers... looking for suggestions on cleaner ways if anyone has them
src/arch/sparc/isa/decoder.isa:
fix some fp implementations
src/arch/sparc/isa/formats/basic.isa:
add new fp op class that 0 cexec in fsr and sets rounding mode for the up comming op
src/arch/sparc/isa/includes.isa:
include the appropriate header files for the rounding code
src/arch/sparc/miscregfile.cc:
print fsr out when it's read/written and the Sparc traceflgas in on
src/cpu/exetrace.cc:
fix printing of float registers
--HG--
extra : convert_revision :
49faab27f2e786a8455f9ca0f3f0132380c9d992
Lisa Hsu [Thu, 1 Feb 2007 20:35:26 +0000 (15:35 -0500)]
Merge zizzer:/bk/newmem
into zed.eecs.umich.edu:/z/hsul/work/sparc/x86.m5
--HG--
extra : convert_revision :
62a0017a1147631513db7878f4e4d08fca776bc1
Lisa Hsu [Thu, 1 Feb 2007 20:34:52 +0000 (15:34 -0500)]
only increment numPosted if an interrupt of that type hasn't been posted before.
--HG--
extra : convert_revision :
6671c594b78d2e38449069157f39af96b81340f2
Gabe Black [Thu, 1 Feb 2007 00:44:50 +0000 (19:44 -0500)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmem
--HG--
extra : convert_revision :
c02e184f69251dc6eeccdcb244788365aa12f7ee
Gabe Black [Wed, 31 Jan 2007 23:47:23 +0000 (18:47 -0500)]
Create reference outputs for this regression.
--HG--
extra : convert_revision :
91e0144fef3f66d413417ad0318f43f752494e3c
Ali Saidi [Wed, 31 Jan 2007 23:32:27 +0000 (18:32 -0500)]
make sparc fs less chatty
src/SConscript:
strip doesn't take a src and dest in solaris
--HG--
extra : convert_revision :
57f95eda0e3232475a5b55753ace3f3f0fced8b3
Ali Saidi [Tue, 30 Jan 2007 23:27:16 +0000 (18:27 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
276b640c5c5a51e88e9bd630960ad462d9f0cb8d
Ali Saidi [Tue, 30 Jan 2007 23:27:04 +0000 (18:27 -0500)]
add fsr to the list of registers we are interested in
--HG--
extra : convert_revision :
2cc0d0144abab264aa0ec8c07242cdab2dffd4f8
Ali Saidi [Tue, 30 Jan 2007 23:25:39 +0000 (18:25 -0500)]
Make SPARC checkpointing work
src/arch/sparc/floatregfile.cc:
Fix serialization for fpreg
src/arch/sparc/intregfile.cc:
fix serialization for intreg
src/arch/sparc/miscregfile.cc:
fix serialization from miscreg
src/arch/sparc/pagetable.cc:
fix serialization for page table
src/arch/sparc/regfile.cc:
need to serialize nnpc
src/arch/sparc/tlb.cc:
write serialization code for tlb
src/cpu/base.cc:
provide a way to find the thread number a context is
serialize the instruction counter
src/cpu/base.hh:
provide a way to find the thread number a context is
and given a thread number find a context pointer
src/cpu/cpuevent.hh:
provide method to get thread context from a cpu event for serialization
src/dev/sparc/t1000.cc:
src/dev/sparc/t1000.hh:
nothing to serialize in t1000
src/sim/serialize.cc:
src/sim/serialize.hh:
Make findObj() work (it hasn't since we did the python conversion stuff)
--HG--
extra : convert_revision :
a95bc4e3c3354304171efbe3797556fdb146bea2
Ali Saidi [Tue, 30 Jan 2007 23:21:42 +0000 (18:21 -0500)]
fix some checkpointing annoyances
-m works as you think it should
Ctrl-C actually ends the simulation now
--HG--
extra : convert_revision :
f2269dc90d165c716459ec61f5f7b1ea3c1d4ae2
Gabe Black [Tue, 30 Jan 2007 21:12:47 +0000 (16:12 -0500)]
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem
--HG--
extra : convert_revision :
7b332ee4c737206511d26db391117eb1fe5ea290
Gabe Black [Tue, 30 Jan 2007 21:12:38 +0000 (16:12 -0500)]
Implemented fbfss and fbpfcc instructions, and cleaned up branch code a little.
src/arch/sparc/isa/base.isa:
Added passesFpCondition function to help with fbfcc and fbpfcc instructions.
src/arch/sparc/isa/decoder.isa:
Added fbfcc and fbpfcc instructions, and cleaned up branch code slightly.
src/arch/sparc/isa/formats/branch.isa:
Minor cleanup.
--HG--
extra : convert_revision :
6586b46418f1f70bace41407f267fee30c657714
Ali Saidi [Tue, 30 Jan 2007 19:43:25 +0000 (14:43 -0500)]
change std::isnan() to a using namespace std and isnan(). We need a better way to do this.
--HG--
extra : convert_revision :
4f59ca8e6425db23f57a1f3f65a4874e483d0ecc
Ali Saidi [Tue, 30 Jan 2007 16:22:22 +0000 (11:22 -0500)]
use std:: for isnan() and fix decoding of fcmpe*
--HG--
extra : convert_revision :
06be0f8572e26c3c7e761b482248304ce1afa038
Gabe Black [Tue, 30 Jan 2007 07:45:59 +0000 (02:45 -0500)]
sizeof with a pointer to dynamically allocated memory will return the size of the pointer, not the memory.
--HG--
extra : convert_revision :
04647d9fa0c464960d37797717f8171862cf48f8
Gabe Black [Tue, 30 Jan 2007 07:44:24 +0000 (02:44 -0500)]
Make clearSingleStep in SPARC a warning, and rephrase the panic for setSingleStep
--HG--
extra : convert_revision :
fde27a1faa6c03a24a4321a153dfa89a438f9a32
Gabe Black [Tue, 30 Jan 2007 05:21:18 +0000 (00:21 -0500)]
Make the FpUnimpl format actually write the Fsr.
--HG--
extra : convert_revision :
84717cd3a8fa9fb85bd0693304e05ef475b05d07
Gabe Black [Tue, 30 Jan 2007 05:08:42 +0000 (00:08 -0500)]
Added FpUnimpl format for quad precision and other purposefully unimplemented floating point ops.
--HG--
extra : convert_revision :
356fec86c35560b20ea8eee80844602bbcec145f
Gabe Black [Tue, 30 Jan 2007 03:57:18 +0000 (22:57 -0500)]
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem
--HG--
extra : convert_revision :
0e4a54c21f32fec13deaf00b5d61c258007f172b
Gabe Black [Tue, 30 Jan 2007 03:54:28 +0000 (22:54 -0500)]
Fix the Frs?s operands to use single width by default, rather than double width.
--HG--
extra : convert_revision :
36137ee025dc5c79665b041b43bd89505715ca70
Gabe Black [Tue, 30 Jan 2007 03:52:54 +0000 (22:52 -0500)]
Add implementation for the fcmp instructions. These don't behave -quite- right with respect to quite NaNs, but hopefully we don't need to worry about the distinction.
--HG--
extra : convert_revision :
67b6583a20530b7a393aa04d0b71031d3c72ecdd
Gabe Black [Tue, 30 Jan 2007 03:46:01 +0000 (22:46 -0500)]
Fix the FCMPCC bitfield.
--HG--
extra : convert_revision :
d2c538e7f469bd12a80eb8585c78d5325d6e6141
Ali Saidi [Tue, 30 Jan 2007 00:04:06 +0000 (19:04 -0500)]
timegm() is a gnuism... replace with the code from the timegm() man page
--HG--
extra : convert_revision :
f2b80a0b7768edc370e3f07c45cb3bb9a46450a9
Ali Saidi [Tue, 30 Jan 2007 00:03:14 +0000 (19:03 -0500)]
fix some over sights in moving windowing and ccr registers to int reg file
--HG--
extra : convert_revision :
4e83e5163076aeef72ec5caf1e0d7adea11da875
Ali Saidi [Mon, 29 Jan 2007 19:46:30 +0000 (14:46 -0500)]
m5stats.txt shouldn't be committed
--HG--
extra : convert_revision :
362a03f5f5e31a813c26bd8fa55949c9cd8a98ba
Ali Saidi [Mon, 29 Jan 2007 19:44:45 +0000 (14:44 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
7b8b791815d1fb51cc7ad085307a640b2ee51642
Gabe Black [Mon, 29 Jan 2007 15:52:13 +0000 (10:52 -0500)]
Process the actual code as well.
--HG--
extra : convert_revision :
1221bfafe7af48ab04f63391f78eaf49d16077b3
Gabe Black [Mon, 29 Jan 2007 15:49:59 +0000 (10:49 -0500)]
Cleaned up disassembly a little.
--HG--
extra : convert_revision :
4665ac7760c9b78a1d7699ceeb541b694211a947
Gabe Black [Mon, 29 Jan 2007 15:48:20 +0000 (10:48 -0500)]
A minor hack to get branch prediction to behave like before on Alpha.
--HG--
extra : convert_revision :
1eaabd13c72aa42c512a04d162a87491818bc621
Gabe Black [Mon, 29 Jan 2007 15:46:54 +0000 (10:46 -0500)]
Fixed a warning about an unused variable.
--HG--
extra : convert_revision :
f9c78e86b60c3085cd95b1b4e132205e0ef584dd
Gabe Black [Sun, 28 Jan 2007 23:28:34 +0000 (18:28 -0500)]
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem
--HG--
extra : convert_revision :
7bea2cb13e2de527134d98d4ee21a55dc4a7d1ad
Ali Saidi [Sun, 28 Jan 2007 21:18:44 +0000 (16:18 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
e302dc4d7a20646bb0ea363127b2658a6d6e810c
Ali Saidi [Sun, 28 Jan 2007 20:55:44 +0000 (15:55 -0500)]
Merge zizzer:/bk/newmem
into pb15.local:/Users/ali/work/m5.newmem.head
--HG--
extra : convert_revision :
b4db0b350c8a5b3452ede74e5b42eec8ed6685c3
Ali Saidi [Sun, 28 Jan 2007 20:42:01 +0000 (15:42 -0500)]
make unimplemented ops fail
return correct traps for ua2005 fpops that aren't implemented in hw
--HG--
extra : convert_revision :
998fd43f77c5de7078bac1c6caab296b18c9366d
Ali Saidi [Sun, 28 Jan 2007 20:30:54 +0000 (15:30 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
f25fd4855a1eaaecb29e6ccc3cee22cf07e4108b
Ali Saidi [Sun, 28 Jan 2007 20:30:14 +0000 (15:30 -0500)]
fix comparing fp registers between legion and m5
make fp writes also chatty with the Sparc traceflag
src/arch/sparc/floatregfile.cc:
make fp writes also chatty with the Sparc traceflag
src/cpu/exetrace.cc:
fix comparing fp registers between legion and m5
--HG--
extra : convert_revision :
f3703afae56249f137451262bc1b6919d465e714
Gabe Black [Sun, 28 Jan 2007 19:46:56 +0000 (14:46 -0500)]
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem
--HG--
extra : convert_revision :
2398e48722dd71ddf270e93bd7b387078fb30e6b
Nathan Binkert [Sun, 28 Jan 2007 18:26:59 +0000 (10:26 -0800)]
Stick the conversion of python to unix time with all of
the other param code so that other functions can use it
as well.
--HG--
extra : convert_revision :
a8becdeadc70af0b64bff5b0770788dfba6e1857
Ali Saidi [Sat, 27 Jan 2007 20:47:18 +0000 (15:47 -0500)]
I missed a couple of things
--HG--
extra : convert_revision :
2fa44718e381ff743fa1cf12f4db2221dca87e4c
Ali Saidi [Sat, 27 Jan 2007 20:38:04 +0000 (15:38 -0500)]
While I'm waiting for legion to run make m5 compile with a few more compilers
SConstruct:
src/SConscript:
Add flags for Intel CC while i'm at it
src/base/compiler.hh:
the _Pragma stuff needst to be called this way unless someone happens to have a cleaner way
src/base/cprintf_formats.hh:
add std:: where appropriate
src/base/statistics.hh:
use this->map since icc was getting confused about std::map vs the locally defined map
src/cpu/static_inst.hh:
Add some more dummy returns where needed
src/mem/packet.hh:
add more dummy returns where needed
src/sim/host.hh:
use limits to come up with max tick
--HG--
extra : convert_revision :
08e9f7898b29fb9d063136529afb9b6abceab60c
Gabe Black [Sat, 27 Jan 2007 06:59:20 +0000 (01:59 -0500)]
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem
src/arch/sparc/isa/formats/mem/util.isa:
src/arch/sparc/isa_traits.hh:
src/arch/sparc/system.cc:
Hand Merge
--HG--
extra : convert_revision :
d5e0c97caebb616493e2f642e915969d7028109c
Gabe Black [Sat, 27 Jan 2007 06:49:21 +0000 (01:49 -0500)]
Got rid of some DPRINTFs that were printing raw pointers.
--HG--
extra : convert_revision :
a79f5ee225208338594e7c4ecf0a71fef941918c
Gabe Black [Sat, 27 Jan 2007 06:47:07 +0000 (01:47 -0500)]
Fixed up printReg so that control registers are printed by name. This is possible now becauase Ctrl_Base_DepTag gets added into control register numbers.
--HG--
extra : convert_revision :
d6de3be277127547cd942769cd34a54a4ec8db32
Ali Saidi [Sat, 27 Jan 2007 00:00:38 +0000 (19:00 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
ca6e616e64d4528478c1505dc7ce111b8888d389
Ali Saidi [Sat, 27 Jan 2007 00:00:17 +0000 (19:00 -0500)]
forgot to include this file
--HG--
extra : convert_revision :
4b570a33a951e9286b38873b2be3651ffaee8532
Ali Saidi [Fri, 26 Jan 2007 23:57:35 +0000 (18:57 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
53ee81b099930d4d827db99e2d944ffb8645c706
Ali Saidi [Fri, 26 Jan 2007 23:57:16 +0000 (18:57 -0500)]
Make Sparc traceflag even more chatty
some fixes to fp instructions to use the single precision registers
if this is an fp op emit fp check code
add fpregs to m5legion struct
src/arch/sparc/floatregfile.cc:
Make Sparc traceflag even more chatty
src/arch/sparc/isa/base.isa:
add code to check if the fpu is enabled
src/arch/sparc/isa/decoder.isa:
some fixes to fp instructions to use the single precision registers
fix smul again
fix subc/subcc/subccc condition code setting
src/arch/sparc/isa/formats/basic.isa:
src/arch/sparc/isa/formats/mem/util.isa:
if this is an fp op emit fp check code
src/cpu/exetrace.cc:
check fp regs as well as int regs
src/cpu/m5legion_interface.h:
add fpregs to m5legion struct
--HG--
extra : convert_revision :
e7d26d10fb8ce88f96e3a51f84b48c3b3ad2f232
Ali Saidi [Fri, 26 Jan 2007 23:50:28 +0000 (18:50 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.suncc
--HG--
extra : convert_revision :
1706f6218abec7eb575dcff3ad4aef83894f64ab
Ali Saidi [Fri, 26 Jan 2007 23:49:40 +0000 (18:49 -0500)]
Merge zeep.pool:/z/saidi/work/m5.newmem
into zeep.pool:/z/saidi/work/m5.suncc
--HG--
extra : convert_revision :
20f61a524a3b53fc0afcf53a24b5a1fe1d96f579
Ali Saidi [Fri, 26 Jan 2007 23:48:51 +0000 (18:48 -0500)]
make our code a little more standards compliant
pretty close to compiling w/ suns compiler
briefly:
add dummy return after panic()/fatal()
split out flags by compiler vendor
include cstring and cmath where appropriate
use std namespace for string ops
SConstruct:
Add code to detect compiler and choose cflags based on detected compiler
Fix zlib check to work with suncc
src/SConscript:
split out flags by compiler vendor
src/arch/sparc/isa/decoder.isa:
use correct namespace for sqrt
src/arch/sparc/isa/formats/basic.isa:
add dummy return around panic
src/arch/sparc/isa/formats/integerop.isa:
use correct namespace for stringops
src/arch/sparc/isa/includes.isa:
include cstring and cmath where appropriate
src/arch/sparc/isa_traits.hh:
remove dangling comma
src/arch/sparc/system.cc:
dummy return to make sun cc front end happy
src/arch/sparc/tlb.cc:
src/base/compression/lzss_compression.cc:
use std namespace for string ops
src/arch/sparc/utility.hh:
no reason to say something is unsigned unsigned int
src/base/compression/null_compression.hh:
dummy returns to for suncc front end
src/base/cprintf.hh:
use standard variadic argument syntax instead of gnuc specefic renaming
src/base/hashmap.hh:
don't need to define hash for suncc
src/base/hostinfo.cc:
need stdio.h for sprintf
src/base/loader/object_file.cc:
munmap is in std namespace not null
src/base/misc.hh:
use M5 generic noreturn macros
use standard variadic macro __VA_ARGS__
src/base/pollevent.cc:
we need file.h for file flags
src/base/random.cc:
mess with include files to make suncc happy
src/base/remote_gdb.cc:
malloc memory for function instead of having a non-constant in an array size
src/base/statistics.hh:
use std namespace for floor
src/base/stats/text.cc:
include math.h for rint (cmath won't work)
src/base/time.cc:
use suncc version of ctime_r
src/base/time.hh:
change macro to work with both gcc and suncc
src/base/timebuf.hh:
include cstring from memset and use std::
src/base/trace.hh:
change variadic macros to be normal format
src/cpu/SConscript:
add dummy returns where appropriate
src/cpu/activity.cc:
include cstring for memset
src/cpu/exetrace.hh:
include cstring fro memcpy
src/cpu/simple/base.hh:
add dummy return for panic
src/dev/baddev.cc:
src/dev/pciconfigall.cc:
src/dev/platform.cc:
src/dev/sparc/t1000.cc:
add dummy return where appropriate
src/dev/ide_atareg.h:
make define work for both gnuc and suncc
src/dev/io_device.hh:
add dummy returns where approirate
src/dev/pcidev.hh:
src/mem/cache/cache_impl.hh:
src/mem/cache/miss/blocking_buffer.cc:
src/mem/cache/tags/lru.hh:
src/mem/cache/tags/split.hh:
src/mem/cache/tags/split_lifo.hh:
src/mem/cache/tags/split_lru.hh:
src/mem/dram.cc:
src/mem/packet.cc:
src/mem/port.cc:
include cstring for string ops
src/dev/sparc/mm_disk.cc:
add dummy return where appropriate
include cstring for string ops
src/mem/cache/miss/blocking_buffer.hh:
src/mem/port.hh:
Add dummy return where appropriate
src/mem/cache/tags/iic.cc:
cast hastSets to double for log() call
src/mem/physical.cc:
cast pmemAddr to char* for munmap
src/sim/byteswap.hh:
make define work for suncc and gnuc
--HG--
extra : convert_revision :
ef8a1f1064e43b6c39838a85c01aee4f795497bd