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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-06-23
     Ever confirmed|0                           |1
                 CC|                            |artemiyv at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
>From tm.texi:
```
If reload sees an insn consisting of a single @code{set} between two
hard registers, and --if @code{REGISTER_MOVE_COST} applied to their
classes returns a value of 2, reload does not check to ensure that the
constraints of the insn are met.  Setting a cost of other than 2 will
allow reload to verify that the constraints are met.--  You should do this
if the @samp{mov@var{m}} pattern's constraints do not allow such copying.
```

Octeontx81 uses a cost of 2 for GPR2FPR and 2 is treated as special by
reload/LRA.

Reply via email to