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

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

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

commit r13-1015-ge94c6dbfb57a862dd8a8685eabc4886ad1aaea25
Author: Max Filippov <jcmvb...@gmail.com>
Date:   Tue Jun 7 21:01:01 2022 -0700

    gcc: xtensa: fix PR target/105879

    split_double operates with the 'word that comes first in memory in the
    target' terminology, while gen_lowpart operates with the 'value
    representing some low-order bits of X' terminology. They are not
    equivalent and must be dealt with differently on little- and big-endian
    targets.

    gcc/
            PR target/105879
            * config/xtensa/xtensa.md (movdi): Rename 'first' and 'second'
            to 'lowpart' and 'highpart' so that they match 'gen_lowpart' and
            'gen_highpart' bitwise semantics and fix order of highpart and
            lowpart depending on target endianness.

Reply via email to