Used to do this in assembly back when registers actually mattered. Today it mostly hurts readability more than anything.