As HP's stock rebounds back to the near-$30 mark, where it was trading before HP hired CEO Meg Whitman in 2011, Whitman got a nice raise in 2013.

Her total compensation was up to $17.6 million, with $12.7 million of that in stock options and $4.4 million in stock awards.

That's more than $2 million more over 2012, when her total compensation was $15.4 million. It was a nice chunk of money above the $16.4 million that HP had planned to pay her for 2013, too, it said.

The extra income mostly came from her $3.97 million bonus, which was 132.3% of her target, HP said in documents filed with the SEC.

Her bonus was supposed to be $3 million in cash. But because HP's stock has rebounded, her stock grants wound up worth about $3.71 million more than planned, not leaving room in her compensation plan to give her the cash. So the board decided to "offset" the fact that her stock was worth more by paying her an additional $260,000 in cash.