[Bug target/98086] [9/10/11 Regression] ICE in extract_insn, at recog.c:2315

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 3 18:55:54 GMT 2020


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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
https://gcc.gnu.org/g:756f55e62f73eb32787497eb9e564d4b21a6e637

commit r11-5713-g756f55e62f73eb32787497eb9e564d4b21a6e637
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Thu Dec 3 17:49:42 2020 +0100

    i386: Fix up ix86_md_asm_adjust for TImode [PR98086]

    ix86_md_asm_adjust assumes that dest_mode can be only [QHSD]Imode
    and nothing else.  The patch rewrites zero-extension part to use
    convert_to_mode to handle TImode and hypothetically even wider modes.

    2020-12-03  Uroš Bizjak  <ubizjak@gmail.com>
                Jakub Jelinek  <jakub@redhat.com>

    gcc/
            PR target/98086
            * config/i386/i386.c (ix86_md_asm_adjustmd): Rewrite
            zero-extension part to use convert_to_mode.

    gcc/testsuite/
            PR target/98086
            * gcc.target/i386/pr98086.c: New test.


More information about the Gcc-bugs mailing list