Hello,

My code passes in several parameters to m5, to the BaseCPU model specifically, including various windows or seeds for a few functions, and it all works well. Overall, I'm working with ARM_SE.

One of my parameters specifies the size of the benchmark being run (determined from a prior execution), so that internally we can bucket some values based on that size. Currently, this size parameter is specified as a *float*, which I feel should be big enough, but once the value I pass in is greater than *24,159,190,015*, it gets thrown away and the value used internally in the program then is 0 or 1 (I don't remember as of writing this). Does anyone have any idea why this might be? Also, I tried changing my parameter to a *Double*, but SConscript was not happy about having a double for a command line parameter, and I was unable to do that.

So, if anyone has any idea what might be going wrong here, I'd greatly appreciate it. Obviously there are ways to pass large numbers in for commands such as --take-checkpoint or --max-instructions, etc.

Thank you,
Griffin Wright
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to