The flags is there just to make sure that other flags are set. Since the appropriate alignment flags needs to be set and it’s possible to accidentally write an instruction definition without specifying any flags. It’s purely defensive.
Ali On Mar 28, 2014, at 7:48 PM, Joel Hestness <[email protected]> wrote: > Hi guys, > I'm hoping for some clarification about the MustBeOne flag in the ARM TLB > ArmFlags (src/arch/arm/tlb.hh). It appears that this flag may be used to > verify that translation request alignment checking only happens for > non-fetch accesses, but this is confusing, since fetch translation requests > are currently uniquely identified by the request mode = Execute. There > aren't any comments describing this flag either. > > Thanks! > Joel > > -- > Joel Hestness > PhD Student, Computer Architecture > Dept. of Computer Science, University of Wisconsin - Madison > http://pages.cs.wisc.edu/~hestness/ > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
