improve mmx performance