Modify simplescalar to implement RWP cache