S&P, Nasdaq enjoy boost from big tech firms, Dow dips - Reuters