Global earnings show shift from US as S&P 500 slumped