]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.c (rs6000_expand_interleave): Use BYTES_BIG_ENDIAN, not TARGET_BIG_ENDIAN.
authorRichard Henderson <rth@redhat.com>
Mon, 12 Dec 2011 02:57:18 +0000 (18:57 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 12 Dec 2011 02:57:18 +0000 (18:57 -0800)
        * config/rs6000/rs6000.c (rs6000_expand_interleave): Use
        BYTES_BIG_ENDIAN, not TARGET_BIG_ENDIAN.

From-SVN: r182218

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 7668767850dcd7fa8e17e3bb5b76dd1d38a5e9c7..e1a10485e5f636fd9ab6148e5c7b04c09ff80632 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        PR tree-optimization/51485
index 1608f8cf3f31f0774a39dad3f8bb18ed9ef63037..e8e9e8c9bbe0959fc01fe7d7d492bd8f2adf1926 100644 (file)
@@ -26519,7 +26519,7 @@ rs6000_expand_interleave (rtx target, rtx op0, rtx op1, bool highp)
   unsigned i, high, nelt = GET_MODE_NUNITS (vmode);
   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++)
     {
       perm[i * 2] = GEN_INT (i + high);