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

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
https://gcc.gnu.org/g:4fa2ab664324eca33bd67981698c453820f70b86

commit r10-9116-g4fa2ab664324eca33bd67981698c453820f70b86
Author: Uros Bizjak <ubiz...@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  <ubiz...@gmail.com>
                Jakub Jelinek  <ja...@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.

    (cherry picked from commit 756f55e62f73eb32787497eb9e564d4b21a6e637)

Reply via email to