You know layoffs are coming up when your boss starts announcing things like dress codes in R&D due to "customer complaints". Severance packages are way more expensive than people leaving on their own.
The executives completely renounced the whole dress code thing though. It was some middle manager who though it would be a great idea for his unit and got slammed after it hit public media.