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=lnk&kid0944&bid$1720&dat1642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to