From cf48cabb7d0e568aa496e27859cef0ed10fbb25f Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 9 Oct 2003 13:13:52 +0000 Subject: [PATCH] * config/h8300/h8300.md (define_asm_attributes): New. From-SVN: r72264 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.md | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9f4321b5c90..1c2dc1f69a5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-09 Kazu Hirata + + * config/h8300/h8300.md (define_asm_attributes): New. + 2003-10-09 Roger Sayle * 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 095949d72fb1..9c8b88fabe56 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