Did you fix the problem? My guess is that this has nothing to do with m5 itself. The only difference between debug and opt is the optimization level of the compiler. See the end of m5/SConscript for details.

Shruti Karbhari wrote:
Greetings to the M5 team,

I am facing a very weird problem with M5.

I have made some modifications to the code. The code builds properly
for the both the debug and opt versions.
However when I run it, I get a Floating point exception for the opt
version while the debug version runs properly.

I could figure out the culprit line (which I added):
if 
(result->cycle_time+1e-11*(result->best_Ndwl+result->best_Ndbl+result->best_Nspd+result->best_Ntwl+result->best_Ntbl+result->best_Ntspd)
cycle_time/FUDGEFACTOR+1e-11*(Ndwl+Ndbl+Nspd+Ntwl+Ntbl+Ntspd)) {

Do the debug and opt versions use different libraries?

Please advise!

Thanks,
Shruti

--
Shruti Karbhari
Graduate Student
Department of Electrical and Computer Engineering
University of Illinois at Chicago


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to