src/mem/ruby/common/NetDest.cc
// Returns true iff all bits are set
Returns true iff all bits are set
Returns true iff all bits are set
bool
NetDest::isBroadcast() const
{
    for (int i = 0; i < m_bits.size(); i++) {
        if (!m_bits[i].isBroadcast()) {
            return false;
        }
    }
    return true;
}
bool NetDest :: isBroadcast ( ) const { for ( int i = 0 ; i < m_bits . size ( ) ; i ++ ) { if ( ! m_bits [ i ] . isBroadcast ( ) ) { return false ; } } return true ; }
Returns true iff all bits are set
Returns true iff all bits are set