DescriptionARM64: Generate better immediates for shifted ops
Improve code generated for immediate data processing operations where the shift
on the operation can be exploited to use fewer instructions for the immediate.
For example, Add(x0, x0, 0x1f7de) used to generate:
movz x16, 0xf7de
movk x16, 0x1, lsl #16
add x0, x0, x16
now generates:
movz x16, 0xfbef
add x0, x0, x16, lsl #1
BUG=
R=ulan@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=22246
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add comment about bit setting #
Messages
Total messages: 4 (0 generated)
|