There is indeed a new version --- but based on the same version of M5,
and it is integrated into the current MV5 release. Instead of using
these patches, I would recommend that you start with MV5 and then do a
diff with the M5 version that MV5 is based upon.
The M5 version that MV5 is based on:
http://www.cs.virginia.edu/~jm6dg/fractal/VF2_base.tar.bz2
The current MV5 release:
http://www.cs.virginia.edu/~jm6dg/fractal/hgfractal_feb_2011.tar.bz2
Jiayuan
Jiayuan
On Mon, Oct 31, 2011 at 9:53 PM, Ankita (Garg) Goel
I assume you are trying to support x86 in MV5's system emulation mode.
In order to port things to x86, you need to identify in the x86
instruction set which ops are nops that can be used by MV5 to support
additional functionality, like MV5 did for Alpha. A good examples to
follow is src/arch/alpha/isa/decoder.isa and main.isa. There should
be something similar for x86 as well. These byte codes need to be
replaced with the byte codes for x86 in api/api_asm.h|cpp:
simd_diverge (api_asm.h)
simd_converge (api_asm.h)
asm_callsys (api_asm.cpp)
Also, you need to change the system call mapping for x86 systems. The
mapping for ALPHA is defined in src/arch/alpha/linux/process.cc
(system calls numbering larger than 448 are MV5 specific). See if you
can find out the corresponding file for x86. After you amend the
system call table for x86, the system call numbering may change, so
make sure you also update the system call numbers in
api/syscall_num.hh accordingly.
Jiayuan
Thanks,
Jiayuan