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: Fix PR 14406 (rs6000 abstf2)


	PR target/14406
	* config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn.
	(abstf2, abstf2_internal): New define_expand.

Okay, assuming no regressions.  I hope that scheduling and CSE actually
produce something better than the raw pattern.  XLC produces:

        fabs    fp0,fp1
        fcmpu   0,fp0,fp1
        bc      BO_IF,CR0_EQ,__L10
        fneg    fp2,fp2
__L10:
        fmr     fp1,fp0
	blr

David


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