The S&P 500 was up at midday Friday, though it pared back some gains after reaching a record high earlier in the session as the tech-fueled rally slowed.