OSDN Git Service

PR target/5621
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 2002 17:34:22 +0000 (17:34 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 2002 17:34:22 +0000 (17:34 +0000)
* arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
"Add a pool_range attribute", which was lost during the ARM/Thumb
merge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51389 138bc75d-0d04-0410-961f-82ee72b054a4

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

index aa23936..16b0964 100644 (file)
@@ -1,3 +1,10 @@
+2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/5621
+       * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
+       "Add a pool_range attribute", which was lost during the ARM/Thumb
+       merge.
+
 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
index 55f7938..89e14c2 100644 (file)
 (define_attr "neg_pool_range" "" (const_int 0))
 
 ; An assembler sequence may clobber the condition codes without us knowing.
+; If such an insn references the pool, then we have no way of knowing how,
+; so use the most conservative value for pool_range.
 (define_asm_attributes
- [(set_attr "conds" "clob")])
+ [(set_attr "conds" "clob")
+  (set_attr "length" "4")
+  (set_attr "pool_range" "250")])
 
 ; TYPE attribute is used to detect floating point instructions which, if
 ; running on a co-processor can run in parallel with other, basic instructions