Add pool ranges to load_indirect_jump pattern
authorNick Clifton <nickc@redhat.com>
Fri, 8 Dec 2000 19:36:32 +0000 (19:36 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 8 Dec 2000 19:36:32 +0000 (19:36 +0000)
From-SVN: r38135

gcc/ChangeLog
gcc/config/arm/arm.md

index 7539396c332be975e3fdf6da010947518946a047..703b85cf0b7d0f9734f9f5c7e8a6bc2452b097cf 100644 (file)
@@ -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.
index 5e5262563c2d7d8d191ce00f4d4e32bf8aece9f4..75696949677b9f96b9fc73198007098711289a5b 100644 (file)
                 (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")]
 )
 
                          (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")]
 )
 
   "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")]
 )
 
   [(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.