Commit d7366f83 by Richard Henderson Committed by Richard Henderson

rs6000.c (rs6000_expand_interleave): Use BYTES_BIG_ENDIAN, not TARGET_BIG_ENDIAN.

        * config/rs6000/rs6000.c (rs6000_expand_interleave): Use
        BYTES_BIG_ENDIAN, not TARGET_BIG_ENDIAN.

From-SVN: r182218
parent d2caef89
2011-12-11 Richard Henderson <rth@redhat.com>
* config/rs6000/rs6000.c (rs6000_expand_interleave): Use
BYTES_BIG_ENDIAN, not TARGET_BIG_ENDIAN.
2011-12-11 Jakub Jelinek <jakub@redhat.com> 2011-12-11 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/51485 PR tree-optimization/51485
...@@ -26519,7 +26519,7 @@ rs6000_expand_interleave (rtx target, rtx op0, rtx op1, bool highp) ...@@ -26519,7 +26519,7 @@ rs6000_expand_interleave (rtx target, rtx op0, rtx op1, bool highp)
unsigned i, high, nelt = GET_MODE_NUNITS (vmode); unsigned i, high, nelt = GET_MODE_NUNITS (vmode);
rtx perm[16]; rtx perm[16];
high = (highp == TARGET_BIG_ENDIAN ? 0 : nelt / 2); high = (highp == BYTES_BIG_ENDIAN ? 0 : nelt / 2);
for (i = 0; i < nelt / 2; i++) for (i = 0; i < nelt / 2; i++)
{ {
perm[i * 2] = GEN_INT (i + high); perm[i * 2] = GEN_INT (i + high);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment