This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Xtensa attribute cleanup patch
- From: Bob Wilson <bwilson at tensilica dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Mar 2002 10:48:03 -0800
- Subject: Xtensa attribute cleanup patch
- Organization: Tensilica, Inc.
Clean up some of the "type" attributes in xtensa.md.
Tested xtensa-elf target. Committed to top-of-trunk.
2002-03-20 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.md: Remove unused type attributes.
(adddi_carry, subddi_carry): Change type attribute to "multi".
Index: xtensa.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/xtensa/xtensa.md,v
retrieving revision 1.2
diff -c -3 -r1.2 xtensa.md
*** xtensa.md 2002/03/19 20:16:35 1.2
--- xtensa.md 2002/03/20 18:32:59
***************
*** 46,52 ****
;;
(define_attr "type"
! "unknown,branch,jump,call,load,store,move,arith,multi,nop,misc,farith,fmadd,fdiv,fsqrt,fconv,fload,fstore,mul16,mul32,div32,mac16,rsr,wsr,udef_move,udef_loadi,udef_storei,udef_loadiu,udef_storeiu,udef_conv,udef_conv_loadiu,udef_conv_storeiu"
(const_string "unknown"))
(define_attr "mode"
--- 46,52 ----
;;
(define_attr "type"
! "unknown,jump,call,load,store,move,arith,multi,nop,farith,fmadd,fdiv,fsqrt,fconv,fload,fstore,mul16,mul32,div32,mac16,rsr,wsr"
(const_string "unknown"))
(define_attr "mode"
***************
*** 122,128 ****
(match_dup 0)))]
""
"bgeu\\t%1, %2, 0f\;addi\\t%0, %0, 1\;0:"
! [(set_attr "type" "arith")
(set_attr "mode" "SI")
(set_attr "length" "6")])
--- 122,128 ----
(match_dup 0)))]
""
"bgeu\\t%1, %2, 0f\;addi\\t%0, %0, 1\;0:"
! [(set_attr "type" "multi")
(set_attr "mode" "SI")
(set_attr "length" "6")])
***************
*** 221,227 ****
(match_operand:SI 2 "register_operand" "r"))))]
""
"bgeu\\t%1, %2, 0f\;addi\\t%0, %0, -1\;0:"
! [(set_attr "type" "arith")
(set_attr "mode" "SI")
(set_attr "length" "6")])
--- 221,227 ----
(match_operand:SI 2 "register_operand" "r"))))]
""
"bgeu\\t%1, %2, 0f\;addi\\t%0, %0, -1\;0:"
! [(set_attr "type" "multi")
(set_attr "mode" "SI")
(set_attr "length" "6")])