Legalize div/idiv operands to avoid immediates.

The div/idiv instruction operand must be a register or memory.

BUG=none
R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/339643003
2 files changed