.U.S. stocks increased, led by the tech-heavy Nasdaq Compound, after the July producer-price index showed that factory-gate inflation slowed a little coming from June.