diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e0017a6565..e79d7befefa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-09 Kazu Hirata <kazu@cs.umass.edu> + + * config/h8300/h8300.md (define_asm_attributes): Specify + the length of an asm insn more precisely. + 2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * config/mips/iris6.h (SUBTARGET_CPP_SPEC): Define. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 9c8b88fabe5..0daa45c2f11 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -106,7 +106,11 @@ ;; statement. The maximum length of 14 bytes is achieved on H8SX. (define_asm_attributes - [(set_attr "length" "14")]) + [(set (attr "length") + (cond [(ne (symbol_ref "TARGET_H8300") (const_int 0)) (const_int 4) + (ne (symbol_ref "TARGET_H8300H") (const_int 0)) (const_int 10) + (ne (symbol_ref "TARGET_H8300S") (const_int 0)) (const_int 10)] + (const_int 14)))]) ;; ---------------------------------------------------------------------- ;; MOVE INSTRUCTIONS |