Shift by 31 and 1, both of which are pretty common, can be done in a few less instructions. Tested with a hwtest.