Patchwork [s390,committed] : fix call to store_bit_field()

login
register
mail settings
Submitter Aldy Hernandez
Date Aug. 5, 2011, 1:32 p.m.
Message ID <4E3BF0F7.7030508@redhat.com>
Download mbox | patch
Permalink /patch/108656/
State New
Headers show

Comments

Aldy Hernandez - Aug. 5, 2011, 1:32 p.m.
Target could not build due to missing new arguments.

Tested by building cc1.

Committed as obvious.
* config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to
	store_bit_field.
	(s390_expand_atomic): Same.
Andreas Krebbel - Aug. 5, 2011, 4:20 p.m.
On Fri, Aug 05, 2011 at 08:32:39AM -0500, Aldy Hernandez wrote:
> Target could not build due to missing new arguments.
> 
> Tested by building cc1.
> 
> Committed as obvious.

> 	* config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to
> 	store_bit_field.
> 	(s390_expand_atomic): Same.

Thanks!

Bye,

-Andreas-

Patch

Index: config/s390/s390.c
===================================================================
--- config/s390/s390.c	(revision 177430)
+++ config/s390/s390.c	(working copy)
@@ -4733,7 +4733,8 @@  s390_expand_cs_hqi (enum machine_mode mo
   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,
@@ -4741,7 +4742,8 @@  s390_expand_cs_hqi (enum machine_mode mo
   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,
@@ -4818,7 +4820,8 @@  s390_expand_atomic (enum machine_mode mo
       /* 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,