T-Mobile US - The wireless carrier gained after saying it added a record number of customers in the first year.

Toyota Motor - The car producer climbed after reporting its April sales rose.

Viacom - The cable network and movie studio company fell after after announcing a $760 million deal for British TV broadcaster Channel 5 and reporting third-quarter advertising revenue below expectations.

Yelp - The online local guide climbed after reporting strong revenue growth. Other Internet stocks gained as well, including Netflix and TripAdvisor.