Take a look at the companies making headlines in midday trading. Target — Second-quarter results beat Wall Street expectations, sending the retailer’s shares soaring 12%. The company maintained a cautious outlook but said sales would grow about 3%. JD.com – Shares of the U.S.-listed Chinese e-commerce company fell more than 5% after Walmart confirmed it was selling its stake in the online retailer. Macy’s — Shares of the department store fell more than 12%. The company slashed its full-year sales forecast in response to more promotions and discerning shoppers. Macy’s also reported mixed second-quarter results, with revenue falling short of Wall Street expectations. Toll Brothers — The homebuilding stock surged 6% after beating Wall Street profit expectations. Toll Brothers also raised its full-year delivery and pricing forecasts. TJX Companies — Shares of TJX Companies, which owns retailers such as TJ Maxx and HomeGoods, rose 6% after raising full-year guidance and reporting another quarter of strong sales. However, the company’s outlook was slightly lower than Wall Street’s expectations. Analog Devices — Semiconductor stocks rose 2% after Analog Devices’ fiscal third-quarter results beat expectations. Adjusted earnings per share were $1.58, beating the $1.51 per share expected by analysts polled by FactSet. Revenue was $2.31 billion, above expectations of $2.28 billion. Coty — Shares of Coty rose about 6% despite disappointing fiscal fourth-quarter results and providing weak guidance for fiscal 2025. Corning — Shares of the glass maker rose more than 2%. Mizuho upgraded Corning to outperform from neutral. The company said the recent retracement in the share price created an attractive entry point. Texas Instruments — Semiconductor stocks rose nearly 3%. Citi upgraded the stock to buy, citing expectations of a rebound in operating margins. Keysight Technologies — Shares of Keysight Technologies rose about 12% after the electronics company beat fiscal third-quarter revenue estimates. Keysight reported revenue of $1.22 billion, higher than the $1.19 billion expected by analysts polled by LSEG. The high end of its revenue guidance for the quarter was also higher than Wall Street expected. —CNBC’s Sarah Min, Jesse Pound and Pia Singh contributed reporting