From 4d7a84516cbb8f565b2428add4eae9984f3f1c5f Mon Sep 17 00:00:00 2001 From: rearnsha Date: Tue, 26 Mar 2002 17:34:22 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51389 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/config/arm/arm.md | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa239367869..16b09646f52 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-03-26 Richard Earnshaw + + 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 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 55f7938e022..89e14c2d847 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -135,8 +135,12 @@ (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 -- 2.11.0