This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
S/390: Add missing "type" attributes
- From: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Mar 2003 19:37:40 +0100 (MET)
- Subject: S/390: Add missing "type" attributes
Hello,
this adds the "type" attribute definitions that were missing
for three insns.
Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux.
ChangeLog:
* config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
Index: gcc/config/s390/s390.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.md,v
retrieving revision 1.49
diff -c -p -r1.49 s390.md
*** gcc/config/s390/s390.md 24 Jan 2003 17:10:22 -0000 1.49
--- gcc/config/s390/s390.md 13 Mar 2003 13:11:50 -0000
***************
*** 913,919 ****
#
#
mvc\\t%O0(16,%R0),%1"
! [(set_attr "op_type" "RSE,RSE,NN,NN,SS")])
(define_split
[(set (match_operand:TI 0 "nonimmediate_operand" "")
--- 913,920 ----
#
#
mvc\\t%O0(16,%R0),%1"
! [(set_attr "op_type" "RSE,RSE,NN,NN,SS")
! (set_attr "type" "lm,stm,*,*,cs")])
(define_split
[(set (match_operand:TI 0 "nonimmediate_operand" "")
***************
*** 1225,1231 ****
lh\\t%0,%1
sth\\t%1,%0
mvc\\t%O0(2,%R0),%1"
! [(set_attr "op_type" "RR,RI,RX,RX,SS")])
(define_peephole2
[(set (match_operand:HI 0 "register_operand" "")
--- 1226,1233 ----
lh\\t%0,%1
sth\\t%1,%0
mvc\\t%O0(2,%R0),%1"
! [(set_attr "op_type" "RR,RI,RX,RX,SS")
! (set_attr "type" "lr,*,*,store,cs")])
(define_peephole2
[(set (match_operand:HI 0 "register_operand" "")
***************
*** 1266,1272 ****
stc\\t%1,%0
mvi\\t%0,%b1
mvc\\t%O0(1,%R0),%1"
! [(set_attr "op_type" "RR,RI,RX,RX,SI,SS")])
(define_peephole2
[(set (match_operand:QI 0 "nonimmediate_operand" "")
--- 1268,1275 ----
stc\\t%1,%0
mvi\\t%0,%b1
mvc\\t%O0(1,%R0),%1"
! [(set_attr "op_type" "RR,RI,RX,RX,SI,SS")
! (set_attr "type" "lr,*,*,store,store,cs")])
(define_peephole2
[(set (match_operand:QI 0 "nonimmediate_operand" "")
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand at informatik dot uni-erlangen dot de