commit | 9c2c093f37106ab952a439fa098d862101bb5854 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Tue Jun 14 07:27:22 2016 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Tue Jun 14 07:27:22 2016 -0700 |
tree | 6c7635b1e4961de5ba178c863d34b3f3cc52daac | |
parent | 3f5cb6f3ea08dae995108130ffe8af8ec1bcbcd2 [diff] |
Subzero: x86-64: Allow immediates in 64-bit instructions. The original code legalized *all* i64 constants into a register move, creating unnecessary instructions and slightly higher register pressure in most cases. Generally, immediates can be used in 64-bit instructions as long as the immediate can be represented as a sign-extended 32-bit value. BUG= none R=jpp@chromium.org Review URL: https://codereview.chromium.org/2063053002 .