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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Stubbs <a...@gcc.gnu.org>:

https://gcc.gnu.org/g:e24b0fed9234716c146aaf6f8c1b39170e43a6f3

commit r14-5318-ge24b0fed9234716c146aaf6f8c1b39170e43a6f3
Author: Andrew Stubbs <a...@codesourcery.com>
Date:   Fri Nov 10 11:13:55 2023 +0000

    amdgcn: Fix v_add constraints (pr112308)

    The instruction doesn't allow "B" constants for the vop3b encoding (used
when
    the cc register isn't VCC), so fix the pattern and all the insns that might
get
    split to it post-reload.

    Also switch to the new constraint format for ease of adding new
alternatives.

    gcc/ChangeLog:

            PR target/112308
            * config/gcn/gcn-valu.md (add<mode>3<exec_clobber>): Fix B
constraint
            and switch to the new format.
            (add<mode>3_dup<exec_clobber>): Likewise.
            (add<mode>3_vcc<exec_vcc>): Likewise.
            (add<mode>3_vcc_dup<exec_vcc>): Likewise.
            (add<mode>3_vcc_zext_dup): Likewise.
            (add<mode>3_vcc_zext_dup_exec): Likewise.
            (add<mode>3_vcc_zext_dup2): Likewise.
            (add<mode>3_vcc_zext_dup2_exec): Likewise.

Reply via email to