Software-controlled cache coherence protocol for multicache systems