aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-21 00:34:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-01-21 00:34:29 +0000
commited863595debb002d1e524ac9ec96fd77bfec7ff3 (patch)
tree7e8b221d566b1c247ecbf861b8b4da68ca578c7c /gcc
parentcbafacd19873f53392a388e8d2be969962b46c2c (diff)
downloadgcc-ed863595debb002d1e524ac9ec96fd77bfec7ff3.zip
gcc-ed863595debb002d1e524ac9ec96fd77bfec7ff3.tar.gz
gcc-ed863595debb002d1e524ac9ec96fd77bfec7ff3.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md25
2 files changed, 14 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index da6644b..376c33d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index ebb23cd..e6229a2 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"))