------- Comment #6 from ubizjak at gmail dot com  2007-02-24 22:54 -------
It was a typo in expand_movmem_epilogue() and expand_setmem_epilogue().
Following patch, fixes this bug and together with patch for PR target/30778
(http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01937.html) enables bootstrap for
all x86_64 targets.

2007-02-24  Uros Bizjak  <[EMAIL PROTECTED]>

        PR target/30770
        * config/i386/i386.md (expand_movmem_epilogue): Fix typo, mask
        count argument with 0x10, not with 0x16.
        (expand_setmem_epilogue): Ditto.

Index: i386.c
===================================================================
--- i386.c      (revision 122286)
+++ i386.c      (working copy)
@@ -13522,7 +13549,7 @@
       HOST_WIDE_INT countval = INTVAL (count);
       int offset = 0;

-      if ((countval & 0x16) && max_size > 16)
+      if ((countval & 0x10) && max_size > 16)
        {
          if (TARGET_64BIT)
            {
@@ -13675,7 +13702,7 @@
       HOST_WIDE_INT countval = INTVAL (count);
       int offset = 0;

-      if ((countval & 0x16) && max_size > 16)
+      if ((countval & 0x10) && max_size > 16)
        {
          if (TARGET_64BIT)
            {


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |30778
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-02-24 19:09:51         |2007-02-24 22:54:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30770

Reply via email to