This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, ARM] Minipool ranges for thumb2_movdf_soft_insn


Hi,

This patch fixes (I believe) a typo in *thumb2_movdf_soft_insn, noticed
when working on another patch. I've not noticed any ill effects from
this, but it didn't look right to me.

Tested with cross-compiler to ARM EABI.

OK to apply?

Julian

ChangeLog

    gcc/
    * config/arm/thumb2.md (*thumb2_movdf_soft_insn): Fix pool ranges.
Index: gcc/config/arm/thumb2.md
===================================================================
--- gcc/config/arm/thumb2.md	(revision 154712)
+++ gcc/config/arm/thumb2.md	(working copy)
@@ -329,8 +329,8 @@
   "
   [(set_attr "length" "8,12,16,8,8")
    (set_attr "type" "*,*,*,load2,store2")
-   (set_attr "pool_range" "1020")
-   (set_attr "neg_pool_range" "0")]
+   (set_attr "pool_range" "*,*,*,4096,*")
+   (set_attr "neg_pool_range" "*,*,*,0,*")]
 )
 
 (define_insn "*thumb2_cmpsi_shiftsi"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]