Microsoft is cutting 3% of its workforce with across-the-board layoffs