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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

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

commit r13-4454-ge055e6db974d8b8950b30859a853e0aee74e20c2
Author: liuhongt <hongtao....@intel.com>
Date:   Thu Dec 1 11:41:49 2022 +0800

    Fix ICE due to incorrect insn type.

    ;; if reg/mem op
    (define_insn_reservation  "slm_sseishft_3" 2
      (and (eq_attr "cpu" "slm")
           (and (eq_attr "type" "sseishft")
                (not (match_operand 2 "immediate_operand"))))
      "slm-complex, slm-all-eu")

    in slm.md it will check operands[2] for type sseishft, but for
    extendbfsf2_1 there's no second operand which caused ICE.
    The patch set type from sseishft to sseishft1 to fix the issue.

    gcc/ChangeLog:

            PR target/107934
            * config/i386/i386.md (extendbfsf2_1): Change type from
            sseishft to sseishft1.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr107934.c: New test.

Reply via email to