Check out the companies making headlines in midday trading: Target â Shares of the retailer surged 12% on second-quarter results that surpassed Wall Street’s expectations. The company maintained its cautious outlook but said sales grew roughly 3%. JD.com â The U.S.-traded shares of the 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 sank more than 12%. The company slashed its full-year sales outlook as it grapples with more promotions and picky shoppers. Macy’s also posted mixed second-quarter results, with revenue falling short of Wall Street’s expectations. Toll Brothers â The homebuilding stock surged 6% after the company topped Wall Street’s earnings expectations. Toll Brothers also lifted its full-year deliveries and pricing forecast. TJX Companies â TJX Companies, which owns retailers such as T.J. Maxx and HomeGoods, saw its shares jump 6% after it raised its full-year guidance and posted another quarter of strong sales. The company’s outlook fell just shy of Wall Street’s expectations, however. Analog Devices â The semiconductor stock gained 2% after Analog Devices’ fiscal third-quarter results beat expectations . Adjusted earnings of $1.58 per share exceeded the earnings of $1.51 per share anticipated by analysts polled by FactSet. Revenue of $2.31 billion was above the expected $2.28 billion. Coty â The beauty stock rallied about 6% even after the company posted disappointing results for the fiscal fourth quarter and offered weak guidance for the fiscal 2025 year. Corning â The glassmaker’s stock rose more than 2%. Mizuho upgraded Corning to outperform from a neutral rating. The firm said the recent pullback in shares creates an attractive entry point. Texas Instruments â The semiconductor stock gained almost 3%. Citi upgraded shares to a buy rating , citing expectations for a rebound in operating margins. Keysight Technologies â Shares popped about 12% after the electronics company topped revenue expectations in the fiscal third quarter. Keysight Technologies posted $1.22 billion in revenue, topping the $1.19 billion expected by analysts polled by LSEG. The top end of its revenue guidance for the current quarter was also higher than the Street’s estimates. â CNBC’s Sarah Min, Jesse Pound and Pia Singh contributed reporting.