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

--- Comment #4 from Chen Gang <gang.chen.5i5j at gmail dot com> ---
In gcc/config/c6x/c6x.md, if we remove (clober ...) for
movmisalign<mode>_store, it will be OK (just symmetric with
movmisalign<mode>_load which is OK).


  (define_insn_and_split "movmisalign<mode>_store"
    [(set (match_operand:SIDIVM 0 "memory_operand" "=W,Q,T,Q,T")
          (unspec:SIDIVM [(match_operand:SIDIVM 1 "register_operand"
"r,a,b,b,a")]
                         UNSPEC_MISALIGNED_ACCESS))
     (clobber (match_scratch:SI 2 "=r,X,X,X,X"))]


I shall try to analyze why clobber match_scratch will cause issue.

Reply via email to