This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] s390: use Test Data Class instruction for isinf
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gellerich at de dot ibm dot com (Wolfgang Gellerich)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Apr 2007 13:19:42 +0200 (CEST)
- Subject: Re: [PATCH] s390: use Test Data Class instruction for isinf
> 2007-04-17 Wolfgang Gellerich <gellerich@de.ibm.com>
>
> * config/s390/s390.h (S390_TDC_POSITIVE_ZERO):New constant.
> (S390_TDC_NEGATIVE_ZERO): New constant.
> (S390_TDC_POSITIVE_NORMALIZED_NUMBER): New constant.
> (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): New constant.
> (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): New constant.
> (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): New constant.
> (S390_TDC_POSITIVE_INFINITY): New constant.
> (S390_TDC_NEGATIVE_INFINITY): New constant.
> (S390_TDC_POSITIVE_QUIET_NAN): New constant.
> (S390_TDC_NEGATIVE_QUIET_NAN): New constant.
> (S390_TDC_POSITIVE_SIGNALING_NAN): New constant.
> (S390_TDC_NEGATIVE_SIGNALING_NAN): New constant.
> (S390_TDC_INFINITY): New constant.
> * config/s390/s390.c (s390_canonicalize_comparison): Renamed UNSPEC_CMPINT
> to UNSPEC_CCU_TO_INT, added a UNSPEC_CCU_TO_INT-like
> optimization for UNSPEC_CCZ_TO_INT.
> * config/s390/s390.md ("*TDC_insn_<mode>"): New insn.
> ("*ccz_to_int"): New insn.
> ("isinf<mode>2"): New insn.
> (UNSPEC_CMPINT): Renamed to UNSPEC_CCU_TO_INT.
> (UNSPEC_CCU_TO_INT): New constant, replaces UNSPEC_CMPINT.
> (UNSPEC_CCZ_TO_INT): New constant.
This is OK, thanks.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com