aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-08 19:36:32 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-12-08 19:36:32 +0000
commit859230d482f7c3e95b751b228b764622947fee83 (patch)
tree231e043f9d05a3b1701485122fc7fbff3ad63d2f
parent6d3d91336c1a1e9b7e6d742a967a13ac799437b0 (diff)
downloadgcc-859230d482f7c3e95b751b228b764622947fee83.zip
gcc-859230d482f7c3e95b751b228b764622947fee83.tar.gz
gcc-859230d482f7c3e95b751b228b764622947fee83.tar.bz2
Add pool ranges to load_indirect_jump pattern
From-SVN: r38135
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/arm/arm.md8
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7539396..703b85c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2000-12-08 Nick Clifton <nickc@redhat.com>
+ * config/arm/arm.md (load_indirect_jump): Add pool ranges.
+
* extend.texi: Document ARM "interrupt" function attribute.
Mention that the ARM also support the "naked" function
attribute.
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 5e52625..7569694 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -1292,7 +1292,7 @@
(sign_extend:SI
(match_operand:HI 2 "s_register_operand" "r"))))]
"TARGET_ARM && arm_is_xscale"
- "smulbb%?\\t%0,%1,%2"
+ "smulbb%?\\t%0, %1, %2"
[(set_attr "type" "mult")]
)
@@ -1304,7 +1304,7 @@
(sign_extend:SI
(match_operand:HI 3 "s_register_operand" "r")))))]
"TARGET_ARM && arm_is_xscale"
- "smlabb%?\\t%0,%2,%3,%1"
+ "smlabb%?\\t%0, %2, %3, %1"
[(set_attr "type" "mult")]
)
@@ -6751,6 +6751,8 @@
"TARGET_ARM"
"ldr%?\\t%|pc, %0\\t%@ indirect memory jump"
[(set_attr "type" "load")
+ (set_attr "pool_range" "4096")
+ (set_attr "neg_pool_range" "4084")
(set_attr "predicable" "yes")]
)
@@ -8994,7 +8996,7 @@
[(set (match_operand:SI 0 "s_register_operand" "=r")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "r")] 128))]
"TARGET_ARM"
- "clz\\t%0,%1")
+ "clz\\t%0, %1")
;; XScale instructions.