[gem5-users] Re: Analyzing instruction cycle count

2023-07-11 Thread Eliot Moss via gem5-users
On 7/11/2023 9:13 PM, Nick F via gem5-users wrote: Good afternoon, I have been trying to use Gem5 to research and study the performance of several different computer architectures. However, I have been noticing that I may be unable to accurately model the differences in cycle length for comput

[gem5-users] Re: Analyzing instruction cycle count

2023-07-11 Thread Ayaz Akram via gem5-users
Hi Nick, I wonder which optimization flag you are using while compiling your program? My guess is the the behavior you are observing is because the compiler is able to figure out that the x is a constant number that can be determined statically and the binary it is generating in both cases probabl