> And actually, couldn't you use an stl bitset for this? I looked into this a little bit and it turns out that we can't use a bitset easily because we don't know at compile time how many bits we need. There are a couple of options. We could use vector<bool> (we have threads on this data structure in our mail archive) which often has a bit packed specialization or boost::dynamic_bitset.
I'm starting to feel like we should reconsider boost. There's certainly a lot of crazy stuff in there, but there's also quite a bit of useful stuff. We could require explicit agreement on which parts of boost to use to avoid the really scary stuff. Specifically, I think we might benefit from the following: Array, Circular Buffer, CRC, Date Time, Dynamic Bitset, Math, Pool, Python, Random, Range, Serialization, Smart Ptr, Thread, Tokenizer http://www.boost.org/doc/libs/1_46_1/ Nate _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
