Yea, I think there might be a fix for that....in the patch that I sent
did it have any of the arch/mips/isa files?

I did change some stuff in there to get the memory system to function
correctly with M5, because in the "Mixie" model you need to be able to
have a memory operation happen in a arbitrary stage, so there were
some extra functions and things to make that work.

There was also an issue with the src/cpu/SConscript file creating the
MixieDynInst properly but i believe that was in the patch....

I'll send it separately for now (copyright issues)...


2008/9/26 Steve Reinhardt <[EMAIL PROTECTED]>:
> I'm not sure how it's supposed to work (perhaps only Korey can answer that),
> but I think the basic problem here is that memAccFlags is only defined in
> the Memory subclass of MipsStaticInst while what you are trying to
> dereference is a pointer to the base StaticInst class.
>
> Steve
>
> On Fri, Sep 26, 2008 at 1:51 PM, Rick Strong <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> So I am in process of getting the in-order model from mips to compile so
>> we can put it into the tree. I am having the following error:
>>
>> Reading /Users/rickstrong/work/m5-dev/src/cpu/simple/SConsopts
>>
>> scons: warning: The env.Copy() method is deprecated; use the env.Clone()
>> method instead.
>> File "/Users/rickstrong/build/m5-dev/build/libelf/SConscript", line 90,
>> in <module>
>> Building in /Users/rickstrong/build/m5-dev/build/MIPS_SE
>> Using saved options file
>> /Users/rickstrong/build/m5-dev/build/options/MIPS_SE
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> g++ -o
>> /Users/rickstrong/build/m5-dev/build/MIPS_SE/arch/mips/mixie_cpu_exec.do
>> -c -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Werror -Wundef
>> -ggdb3 -DTHE_ISA=MIPS_ISA -DDEBUG -DTRACING_ON=1 -Iext/dnet
>> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
>> -I/Users/rickstrong/build/m5-dev/build/libelf
>> -I/Users/rickstrong/build/m5-dev/build/MIPS_SE
>> /Users/rickstrong/build/m5-dev/build/MIPS_SE/arch/mips/mixie_cpu_exec.cc
>>
>> /Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh:
>> In member function 'int MixieDynInst::getMemAccSize()':
>>
>> /Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh:616:
>> error: 'class StaticInst' has no member named 'memAccSize'
>>
>> /Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh:
>> In member function 'int MixieDynInst::getMemFlags()':
>>
>> /Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh:618:
>> error: 'class StaticInst' has no member named 'memAccFlags'
>> scons: ***
>> [/Users/rickstrong/build/m5-dev/build/MIPS_SE/arch/mips/mixie_cpu_exec.do]
>> Error 1
>> scons: building terminated because of errors.
>>
>> So I see memAccSize in src/arch/mips/isa/formats/mem.isa, so my guess is
>> that the StaticInst in mixie, is a RefCountingPtr and is a one level of
>> indirection too much that prevents the access to member function
>> src/arch/mips/isa/formats/mem.isa. Is there a function I have to call in
>> order to get access to this function? Alternatively, where is a good
>> place to look to figure out how StaticInst are working in the cpu models?
>>
>> Thanks,
>> -Rick
>> _______________________________________________
>> m5-dev mailing list
>> [email protected]
>> http://m5sim.org/mailman/listinfo/m5-dev
>
>
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>
>



-- 
----------
Korey L Sewell
Graduate Student - PhD Candidate
Computer Science & Engineering
University of Michigan
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to