add twinpass detection to ifxmips