Commit ed863595 by Kazu Hirata Committed by Kazu Hirata

h8300.md: Update the comments at the beginning of the file.

	* config/h8300/h8300.md: Update the comments at the beginning
	of the file.

From-SVN: r49025
parent cbafacd1
2002-01-20 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Update the comments at the beginning
of the file.
2002-01-20 Kazu Hirata <kazu@hxi.com>
* config/i370/i370.c: Fix comment formatting.
* config/i370/i370.h: Likewise.
* config/i370/i370.md: Likewise.
......
......@@ -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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment