s390.c (s390_expand_atomic): Adjust QI/HI atomic nand to the changed 4.4 semantic.
2008-11-20 Andreas Krebbel <krebbel1@de.ibm.com> * gcc/config/s390/s390.c (s390_expand_atomic): Adjust QI/HI atomic nand to the changed 4.4 semantic. From-SVN: r142063
This commit is contained in:
parent
81f5094da4
commit
6a238c58a6
|
@ -1,3 +1,8 @@
|
|||
2008-11-20 Andreas Krebbel <krebbel1@de.ibm.com>
|
||||
|
||||
* gcc/config/s390/s390.c (s390_expand_atomic): Adjust QI/HI atomic
|
||||
nand to the changed 4.4 semantic.
|
||||
|
||||
2008-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/29215
|
||||
|
|
|
@ -4681,10 +4681,10 @@ s390_expand_atomic (enum machine_mode mode, enum rtx_code code,
|
|||
NULL_RTX, 1, OPTAB_DIRECT);
|
||||
break;
|
||||
case MULT: /* NAND */
|
||||
new_rtx = expand_simple_binop (SImode, XOR, new_rtx, ac.modemask,
|
||||
NULL_RTX, 1, OPTAB_DIRECT);
|
||||
new_rtx = expand_simple_binop (SImode, AND, new_rtx, val,
|
||||
NULL_RTX, 1, OPTAB_DIRECT);
|
||||
new_rtx = expand_simple_binop (SImode, XOR, new_rtx, ac.modemask,
|
||||
NULL_RTX, 1, OPTAB_DIRECT);
|
||||
break;
|
||||
default:
|
||||
gcc_unreachable ();
|
||||
|
|
Loading…
Reference in New Issue