Hi Christian, Christian Bruel <christian.br...@st.com> writes: > @@ -6893,11 +6894,14 @@ label: > ;; reloading MAC subregs otherwise. For that probably special patterns > ;; would be required. > (define_insn "*mov<mode>_reg_reg" > - [(set (match_operand:QIHI 0 "arith_reg_dest" "=r") > - (match_operand:QIHI 1 "register_operand" "r"))] > + [(set (match_operand:QIHI 0 "arith_reg_dest" "=r,m,*z") > + (match_operand:QIHI 1 "register_operand" "r,*z,m"))]
If the constraints allow "m", the predicates need to accept memories too. (It'd be worth having an insn condition that rejects both operands being memories though.) Thanks, Richard