aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-03-11 06:05:08 +0000
committerDoug Evans <dje@gnu.org>1996-03-11 06:05:08 +0000
commit2ae508e5e3d7756fb7bf74015337f82869f16a77 (patch)
tree8d35ef18855eb834a2b702be9debba4c04b85eac
parent4312729434c6f7f1ce26ba84833876c87e1045df (diff)
downloadgcc-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
-rw-r--r--gcc/config/sparc/sparc.md8
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)))])