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]

[PATCH] s390 movcc missing type attributes


Hi,

my last patch introduced a movcc pattern without setting the instruction
type attribute. Without the attributes it defaults to "integer"-instruction 
which is wrong in most of the cases.

Patch bootstrapped without regressions on s390x.

OK?

-Andreas-


2004-11-02  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("movcc"): Set type attribute.


Index: gcc/config/s390/s390.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.md,v
retrieving revision 1.137
diff -p -c -r1.137 s390.md
*** gcc/config/s390/s390.md	1 Nov 2004 18:50:19 -0000	1.137
--- gcc/config/s390/s390.md	2 Nov 2004 12:01:03 -0000
***************
*** 1468,1474 ****
     sty\t%0,%1
     l\t%1,%0
     ly\t%1,%0"
!   [(set_attr "op_type" "RR,RI,RRE,RX,RXY,RX,RXY")])
  
  ;
  ; Block move (MVC) patterns.
--- 1468,1475 ----
     sty\t%0,%1
     l\t%1,%0
     ly\t%1,%0"
!   [(set_attr "op_type" "RR,RI,RRE,RX,RXY,RX,RXY")
!    (set_attr "type" "lr,*,*,store,store,load,load")])
  
  ;
  ; Block move (MVC) patterns.


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