I think that should work, but I'm not completely sure and you shouldn't need to change anything. The code as written should work fine, and I don't think anyone else has had that problem. Did you remove your build directory when you updated? If not, you should try that. What version of python, gcc, swig, and scons are you using?
http://www.gem5.org/External_Dependencies Gabe On 12/12/11 19:55, Dali Zhao wrote: > Hi, > I just updated to the newest version of gem5. I get compilation > errors that can be traced back to the architecture description of > ALPHA machine. > This is about the file: src/arch/alpha/isa/decoder.isa, line 67 and 68: > > 0x26: sts({{ Mem_ul = t_to_s(Fa_uq); }}); > 0x27: stt({{ Mem_df = Fa; }}); > > When compiling atomic_simple_cpu_exec.cc, which is generated according > to the .isa files, the compiler reports "casting double to unsigned > long warning" with Stt::initiateAcc > > I think stt should have similar declaration as sts, and i changed the > decoder.isa file like this; > > 0x26: sts({{ Mem_ul = t_to_s(Fa_uq); }}); > 0x27: stt({{ Mem = Fa_uq; }}); > > The warning is gone after the change, but I'm not sure if this change > is OK. Any comment? > > _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
