This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] s390: improve condition code handling with compare&swap


Adrian Straetling wrote:

> 	* config/s390/s390.c: (s390_cc_modes_compatible): Move before
> 	"s390_emit_compare". Add handling of CCZ1mode.
> 	(s390_canonicalize_comparison): Simplify cascaded EQ, NE.
> 	(390_emit_compare): Use "s390_cc_modes_compatible" for mode
> 	checking.
> 	(s390_branch_condition_mask): Add CCZ1mode handling.
> 	* config/s390/s390.md: ("seq", "*seq"): New pattern.
> 	("sync_compare_and_swap_cc<mode>", "*sync_compare_and_swap_cc<mode>"):
> 	Use CCZ1mode instead of CCZmode.
> 	* config/s390/s390-modes.def: Add CCZ1mode.  Comment new mode.

Applied, thanks!

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  Linux on zSeries Development
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]