What is the exact problem you're trying to solve here? Why can the compiler complain about this? What is the error message?
Ali Sent from my ARM powered device On Mar 20, 2011, at 8:14 PM, "Korey Sewell" <ksew...@umich.edu> wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.m5sim.org/r/603/ > ----------------------------------------------------------- > > Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and > Nathan Binkert. > > > Summary > ------- > > sim: use nextCycle() for quiesceSkip function > the increment of curTick causes some compiler to complain on an assert in the > event queue > scheduler. Since the code is only scheduling for the next cycle it seems safe > to go ahead > and just use the cpu's function to trick the compiler. NOTE: this only comes > up in opt/debug > builds since asserts are taken out of fast > > > Diffs > ----- > > src/sim/pseudo_inst.cc c1c6f36e118e > > Diff: http://reviews.m5sim.org/r/603/diff > > > Testing > ------- > > This passed the simple-atomic, simple-timing, and o3 regressions tests for > ARM_FS. > > > Thanks, > > Korey > > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev