Broader markets outperformed, led by realty and mid- and small-cap stocks, while investors shifted their focus to the IT earnings season after TCS reported its June-quarter results