]> gcc.gnu.org Git - gcc.git/commit
gcc: xtensa: fix PR target/105879
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 8 Jun 2022 04:01:01 +0000 (21:01 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 8 Jun 2022 15:47:40 +0000 (08:47 -0700)
commite94c6dbfb57a862dd8a8685eabc4886ad1aaea25
tree4dffcf96c2d0745767f8105f5ce0e68e42e1f0c0
parent90a6c3b6d69765ea9269ba7ae16ef02d5527e875
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.
gcc/config/xtensa/xtensa.md
This page took 0.062051 seconds and 6 git commands to generate.