On 07/09/2011 04:05 PM, H.J. Lu wrote: >> Is this change actually necessary? I would think that the >> predicate has already been adjusted... >> > > Since we always use short version for x32, there is no need to call. > x86_64_zext_immediate_operand.
Yes, but using the shorter condition, i.e. always calling x86_64_zext_immediate_operand and letting it return true for all x32 symbols, is easier to maintain. >> > Have I forgotten x86 encoding? I thought movl imm,reg was 5 bytes... >> > >> > > You forgot the REX prefix: Ah, right. I forgot what the chain register was. r~