Custom modifications to simplescalar