* config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.
authorDavid Edelsohn <edelsohn@gnu.org>
Sun, 8 May 2005 02:35:49 +0000 (02:35 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sun, 8 May 2005 02:35:49 +0000 (22:35 -0400)
From-SVN: r99377

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 122233575c742703bdf6c4878b681b86656951af..30aad8da17efaecad803a34368534f081d5ec2e8 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-07  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.
+
 2005-05-07  Paul Brook  <paul@codesourcery.com>
 
        * Makefile.in: Fix dependencies.
index 55b8a943ce94f1f5dd1863cdfa7cdbe1bebb05a2..0c8abb10f29aa1f2f3fa890bd93071f38c5fc700 100644 (file)
   {
     operands[2] = gen_reg_rtx (<MODE>mode);
     operands[3] = gen_reg_rtx (<MODE>mode);
-    operands[4] = force_reg (<MODE>mode, <MODE>mode == SImode
-                                        ? GEN_INT (0x01010101)
-                                        : GEN_INT (0x0101010101010101LL));
+    operands[4] = force_reg (<MODE>mode,
+                            <MODE>mode == SImode
+                            ? GEN_INT (0x01010101)
+                            : GEN_INT ((HOST_WIDE_INT)
+                                       0x01010101 << 32 | 0x01010101));
     operands[5] = GEN_INT (GET_MODE_BITSIZE (<MODE>mode) - 8);
   })