aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2011-08-05 16:44:38 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2011-08-05 16:44:38 +0000
commit44e9520681e7911fd6af8c180a1435a74c340a03 (patch)
tree5c0fc4c076b7f88458e38eba1bed82980083f88f
parenteebc8f373b5c761dd9d92ff01cb4b6132dbb9081 (diff)
downloadgcc-44e9520681e7911fd6af8c180a1435a74c340a03.zip
gcc-44e9520681e7911fd6af8c180a1435a74c340a03.tar.gz
gcc-44e9520681e7911fd6af8c180a1435a74c340a03.tar.bz2
s390.c (s390_expand_cs_hqi): Add new arguments to store_bit_field.
* config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to store_bit_field. (s390_expand_atomic): Same. From-SVN: r177467
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/s390/s390.c9
2 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5281336..2e897ae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index d52765e..c8f9a1e 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -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);
- 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 mode, rtx target, rtx mem, rtx cmp, rtx ne
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 mode, enum rtx_code code,
/* 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,