diff mbox

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

Message ID 4E3BF0F7.7030508@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez Aug. 5, 2011, 1:32 p.m. UTC
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.

Comments

Andreas Krebbel Aug. 5, 2011, 4:20 p.m. UTC | #1
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-
diff mbox

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,