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?
--
Dali Zhao
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users