public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [s390] [committed]: fix call to store_bit_field()
@ 2011-08-05 13:33 Aldy Hernandez
  2011-08-05 17:05 ` Andreas Krebbel
  0 siblings, 1 reply; 2+ messages in thread
From: Aldy Hernandez @ 2011-08-05 13:33 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

Target could not build due to missing new arguments.

Tested by building cc1.

Committed as obvious.

[-- Attachment #2: curr --]
[-- Type: text/plain, Size: 1464 bytes --]

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

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [s390] [committed]: fix call to store_bit_field()
  2011-08-05 13:33 [s390] [committed]: fix call to store_bit_field() Aldy Hernandez
@ 2011-08-05 17:05 ` Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2011-08-05 17:05 UTC (permalink / raw)
  To: Aldy Hernandez; +Cc: gcc-patches

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-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-05 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-05 13:33 [s390] [committed]: fix call to store_bit_field() Aldy Hernandez
2011-08-05 17:05 ` Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).