OSDN Git Service

* config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Aug 2011 16:44:38 +0000 (16:44 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Aug 2011 16:44:38 +0000 (16:44 +0000)
        store_bit_field.
        (s390_expand_atomic): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177467 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/s390/s390.c

index 5281336..2e897ae 100644 (file)
@@ -1,3 +1,9 @@
+2011-08-05  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to
+       store_bit_field.
+       (s390_expand_atomic): Same.
+
 2011-08-05  Richard Henderson  <rth@redhat.com>
 
        PR rtl-opt/49977
 2011-08-05  Richard Henderson  <rth@redhat.com>
 
        PR rtl-opt/49977
index d52765e..c8f9a1e 100644 (file)
@@ -4733,7 +4733,8 @@ s390_expand_cs_hqi (enum machine_mode mode, rtx target, rtx mem, rtx cmp, rtx ne
   if (ac.aligned && MEM_P (cmp))
     {
       cmpv = force_reg (SImode, val);
   if (ac.aligned && MEM_P (cmp))
     {
       cmpv = force_reg (SImode, val);
-      store_bit_field (cmpv, GET_MODE_BITSIZE (mode), 0, SImode, cmp);
+      store_bit_field (cmpv, GET_MODE_BITSIZE (mode), 0,
+                      0, 0, SImode, cmp);
     }
   else
     cmpv = force_reg (SImode, expand_simple_binop (SImode, IOR, cmp, val,
     }
   else
     cmpv = force_reg (SImode, expand_simple_binop (SImode, IOR, cmp, val,
@@ -4741,7 +4742,8 @@ s390_expand_cs_hqi (enum machine_mode mode, rtx target, rtx mem, rtx cmp, rtx ne
   if (ac.aligned && MEM_P (new_rtx))
     {
       newv = force_reg (SImode, val);
   if (ac.aligned && MEM_P (new_rtx))
     {
       newv = force_reg (SImode, val);
-      store_bit_field (newv, GET_MODE_BITSIZE (mode), 0, SImode, new_rtx);
+      store_bit_field (newv, GET_MODE_BITSIZE (mode), 0,
+                      0, 0, SImode, new_rtx);
     }
   else
     newv = force_reg (SImode, expand_simple_binop (SImode, IOR, new_rtx, val,
     }
   else
     newv = force_reg (SImode, expand_simple_binop (SImode, IOR, new_rtx, val,
@@ -4818,7 +4820,8 @@ s390_expand_atomic (enum machine_mode mode, enum rtx_code code,
       /* FALLTHRU */
     case SET:
       if (ac.aligned && MEM_P (val))
       /* FALLTHRU */
     case SET:
       if (ac.aligned && MEM_P (val))
-       store_bit_field (new_rtx, GET_MODE_BITSIZE (mode), 0, SImode, val);
+       store_bit_field (new_rtx, GET_MODE_BITSIZE (mode), 0,
+                        0, 0, SImode, val);
       else
        {
          new_rtx = expand_simple_binop (SImode, AND, new_rtx, ac.modemaski,
       else
        {
          new_rtx = expand_simple_binop (SImode, AND, new_rtx, ac.modemaski,