Investing.com – Stocks finished the day barely higher as bad news for computer chips was offset by gains for Boeing (NYSE:BA), whose bad news on the 737 Max wasn't as bad as feared.
The S&P 500 ended the day up 0.28% and closed above 3,000 for the second time in three days.
The Dow Jones industrials, meanwhile, added 0.17%, thanks to a late flurry of buying. And the Nasdaq Composite rose 0.19%.
Materials, healthcare and energy were the stronger sectors in the market. The laggards were consumer discretionary, real estate, industrials and technology.
Techs were pulled lower by semiconductors after weak earnings and a gloomy outlook late Tuesday from Texas Instruments (NASDAQ:TXN). TI was off 7.5% and the Philadelphia Semiconductor Index fell 1.9%.
Boeing moved up 1% because the company's results weren't as bad as investors feared. But it did announce it will cut back production of its 787 Dreamliner because of weakness in global markets for widebody jets.
It still expects to get the 737 Max back into the air late this year, although many airlines aren't expecting to fly the jet before the end of January.
Retailers overall were weak, led by Gap (NYSE:GPS) and Target (NYSE:TGT). Beyond Meat (NASDAQ:BYND) fell 8% and ended under $100 for the first time since early June. The shares are off more than 59% since peaking on July 26.
Rising oil prices helped energy stocks move higher, thanks to a surprise draw on oil inventories. Exxon Mobil (NYSE:XOM) rose 1%. Chesapeake Energy (NYSE:CHK), Devon Energy (NYSE:DVN) and Apache (NYSE:APA) all moved solidly higher.
West Texas Intermediate crude rose $1.49 to $55.97 a barrel. Brent crude added $1.47 to $61.17.
Gold and other metals moved up as global trade and political concerns weighed on the market.
Alexion Pharmaceuticals (NASDAQ:ALXN), pest-control maker Rollins (NYSE:ROL), adhesives maker Avery Dennison (NYSE:AVY) and scientific instrument maker Thermo Fisher Scientific (NYSE:TMO) were the top S&P 500 performers.
Texas Instruments (NASDAQ:TXN), Chipotle Mexican Grill (NYSE:CMG), chip maker Analog Devices (NASDAQ:ADI) and Maxim Integrated Products (NASDAQ:MXIM) were the laggards.
Interest rates were off slightly.