diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da6644b96a92..376c33de22bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-20 Kazu Hirata + + * config/h8300/h8300.md: Update the comments at the beginning + of the file. + 2002-01-20 Kazu Hirata * config/i370/i370.c: Fix comment formatting. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index ebb23cd0c3c4..e6229a2b9445 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -22,22 +22,6 @@ ;; the Free Software Foundation, 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. -;; The original PO technology requires these to be ordered by speed, -;; so that assigner will pick the fastest. - -;; See file "rtl.def" for documentation on define_insn, match_*, et. al. - -(define_attr "cpu" "h8300,h8300h" - (const (symbol_ref "cpu_type"))) - -;; Many logical operations should have "bit" variants if only one -;; bit is going to be operated on. - -;; (and (logical op) (const_int X)) -;; If const_int only specifies a few bits (like a single byte in a 4 byte -;; operation, then it's more efficient to only apply the and and logical_op -;; to the bits we care about. - ;; Some of the extend instructions accept a general_operand_src, which ;; allows all the normal memory addressing modes. The length computations ;; don't take this into account. The lengths in the MD file should be @@ -62,6 +46,13 @@ ;; ??? Implement remaining bit ops available on the h8300 +;; ---------------------------------------------------------------------- +;; ATTRIBUTES +;; ---------------------------------------------------------------------- + +(define_attr "cpu" "h8300,h8300h" + (const (symbol_ref "cpu_type"))) + (define_attr "type" "branch,arith" (const_string "arith")) @@ -90,6 +81,7 @@ (const_string "yes"))) ;; Condition code settings. +;; ;; none - insn does not affect cc ;; none_0hit - insn does not affect cc but it does modify operand 0 ;; This attribute is used to keep track of when operand 0 changes. @@ -98,6 +90,7 @@ ;; set_zn - insn sets z,n to usable values; v,c are unknown. ;; compare - compare instruction ;; clobber - value of cc is unknown + (define_attr "cc" "none,none_0hit,set_znv,set_zn,compare,clobber" (const_string "clobber"))