diff options
author | Doug Evans <dje@gnu.org> | 1996-03-11 06:05:08 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-03-11 06:05:08 +0000 |
commit | 2ae508e5e3d7756fb7bf74015337f82869f16a77 (patch) | |
tree | 8d35ef18855eb834a2b702be9debba4c04b85eac /gcc | |
parent | 4312729434c6f7f1ce26ba84833876c87e1045df (diff) | |
download | gcc-2ae508e5e3d7756fb7bf74015337f82869f16a77.zip gcc-2ae508e5e3d7756fb7bf74015337f82869f16a77.tar.gz gcc-2ae508e5e3d7756fb7bf74015337f82869f16a77.tar.bz2 |
(move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative.
From-SVN: r11509
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/sparc.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index fc5279b..bfe83bc 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -1555,9 +1555,9 @@ return \"\\n1:\;call 2f\;sethi %%hi(%l1-1b),%0\\n2:\\tor %0,%%lo(%l1-1b),%0\;add %0,%%o7,%0\"; }" [(set_attr "type" "multi") - ; 1024 = 4096 bytes / 4 bytes/insn + ; 960 = 4096 bytes / 4 bytes/insn - 64 (for not always perfect length calcs) (set (attr "length") (if_then_else (ltu (minus (match_dup 1) (pc)) - (const_int 1024)) + (const_int 960)) (const_int 2) (const_int 4)))]) @@ -1583,9 +1583,9 @@ return \"\\n1:\;rd %%pc,%%o7\;sethi %%hi(%l1-1b),%0\;add %0,%%lo(%l1-1b),%0\;sra %0,0,%0\;add %0,%%o7,%0\"; }" [(set_attr "type" "multi") - ; 1024 = 4096 bytes / 4 bytes/insn + ; 960 = 4096 bytes / 4 bytes/insn - 64 (for not always perfect length calcs) (set (attr "length") (if_then_else (ltu (minus (match_dup 1) (pc)) - (const_int 1024)) + (const_int 960)) (const_int 2) (const_int 5)))]) |