https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109414

--- Comment #4 from Sinan <sinan.lin at linux dot alibaba.com> ---
(In reply to Andrew Pinski from comment #1)
> Actually this more related to WORD_REGISTER_OPERATIONS .
> 
> (insn 7 4 8 2 (set (reg:SI 77)
>         (plus:SI (subreg/s/u:SI (reg/v:DI 74 [ x ]) 0)
>             (const_int 1 [0x1]))) "/app/example.cpp":3:12 -1
>      (nil))
> 
> GCC then thinks that is an add on all 64bit which is not true ...

Hi Andrew, thanks for the info.

I don't see anything things we could do for WORD_REGISTER_OPERATIONS. Maybe we
still need to handle these insn case by case in the backend?

Reply via email to