Recently punished shares of Microsoft Corp MSFT.O, Apple Inc AAPL.O, Tesla Inc TSLA.O and Amazon AMZN.O gained between 2% and 5.1%, driving the S&P 500 and the Nasdaq higher. Investors were cheered by data showing U.S. retail sales increased 0.9% in April as consumers bought motor vehicles amid an improvement in supply and frequented restaurants. The U.S. Federal Reserve will "keep pushing" to tighten U.S. monetary policy until it is clear inflation is declining, Fed Chair Jerome Powell said at an event on Tuesday.