Chip stocks lift Nasdaq and S&P 500 as markets await earnings | Indexa