A solid earnings report from AutoNation propelled the car dealer’s stock to its best day in nearly three years.