diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-09 23:50:46 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-09 23:50:46 +0000 |
commit | c4d0eef8dc1697acea974e032b5d8c0ef6da8c29 (patch) | |
tree | 4ddf5be13e904f5ce330148928844d910b68f1b7 /gcc | |
parent | bec0011630509d30cd69ac57d00b672be69dfc24 (diff) | |
download | ppe42-gcc-c4d0eef8dc1697acea974e032b5d8c0ef6da8c29.tar.gz ppe42-gcc-c4d0eef8dc1697acea974e032b5d8c0ef6da8c29.zip |
* config/h8300/h8300.md (define_asm_attributes): Specify
the length of an asm insn more precisely.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72289 138bc75d-0d04-0410-961f-82ee72b054a4
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 |