US stocks gained on Tuesday with the 30-stock blue-chip Dow ending up 6% for July so far; Intel Q2 sales up 34%, its strongest quarterly result in its 42-year history