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]

[Committed 4.1 4.2 mainline] S/390: Fix xordi3_cconly pattern


Hi,

I've applied the attached trivial fix to 4.1 4.2 and mainline.

The problem occured first with 4.2 but I think it is safe for 4.1
as well.

Bootstrapped with GCC 4.2 on s390x.

Bye,

-Andreas-


2007-08-02  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("*xordi3_cconly"): Change xr to xg.


Index: gcc/config/s390/s390.md
===================================================================
*** gcc/config/s390/s390.md.orig	2007-08-01 10:37:41.000000000 +0200
--- gcc/config/s390/s390.md	2007-08-02 09:53:49.000000000 +0200
***************
*** 5624,5630 ****
    "s390_match_ccmode(insn, CCTmode) && TARGET_64BIT"
    "@
     xgr\t%0,%2
!    xr\t%0,%2"
    [(set_attr "op_type"  "RRE,RXY")])
  
  (define_insn "*xordi3_extimm"
--- 5624,5630 ----
    "s390_match_ccmode(insn, CCTmode) && TARGET_64BIT"
    "@
     xgr\t%0,%2
!    xg\t%0,%2"
    [(set_attr "op_type"  "RRE,RXY")])
  
  (define_insn "*xordi3_extimm"


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