On 09/15/2016 06:16 AM, Paolo Bonzini wrote:
> This comes from free from unifying tcg_reg_alloc_mov and
> tcg_reg_alloc_movi's handling of TEMP_VAL_CONST.  It triggers
> often on moves to cc_dst, such as the following translation
> of "sub $0x3c,%esp":
>   before:                          after:
>   subl   $0x3c,%ebp                subl   $0x3c,%ebp
>   movl   %ebp,0x10(%r14)           movl   %ebp,0x10(%r14)
>   movl   $0x3c,%ebx                movl   $0x3c,0x2c(%r14)
>   movl   %ebx,0x2c(%r14)

What's the input here?  From just this snippet it looks as if we should have
converted both of them to an immediate store.


Reply via email to