aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.md6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9f4321..1c2dc1f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-09 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (define_asm_attributes): New.
+
2003-10-09 Roger Sayle <roger@eyesopen.com>
* optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 095949d..9c8b88f 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -101,6 +101,12 @@
(define_attr "cc" "none,none_0hit,set_znv,set_zn,compare,clobber"
(const_string "clobber"))
+
+;; Provide the maximum length of an assembly instruction in an asm
+;; statement. The maximum length of 14 bytes is achieved on H8SX.
+
+(define_asm_attributes
+ [(set_attr "length" "14")])
;; ----------------------------------------------------------------------
;; MOVE INSTRUCTIONS