diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 767b1c3c2ce243be4d2a0bc0328d02e834402814..9bacc8e2a7e7a15285cc764fe59ff5ca9881c709 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2011-11-29 Sameera Deshpande <sameera.deshpande@arm.com> + + * config/arm/arm.md (arm_movdi): Update NEG_POOL_RANGE. + (movdf_soft_insn): Likewise. + * config/arm/fpa.md (thumb2_movdf_fpa): Likewise. + * config/arm/neon.md (neon_mov<mode>): Likewise. + * config/arm/vfp.md (movdi_vfp): Likewise. + (movdi_vfp_cortexa8): Likewise. + (movdf_vfp): Likewise. + 2011-11-29 Jakub Jelinek <jakub@redhat.com> PR middle-end/50074 diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index a78ba88f8ce4e29e5d1fc81e51112c5c0993d244..7ac3f5c8565560689886768e42b9fe444873a125 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -268,7 +268,7 @@ ; can be placed. If the distance is zero, then this insn will never ; reference the pool. ; NEG_POOL_RANGE is nonzero for insns that can reference a constant pool entry -; before its address. +; before its address. It is set to <max_range> - (8 + <data_size>). (define_attr "arm_pool_range" "" (const_int 0)) (define_attr "thumb2_pool_range" "" (const_int 0)) (define_attr "arm_neg_pool_range" "" (const_int 0)) @@ -5223,7 +5223,7 @@ [(set_attr "length" "8,12,16,8,8") (set_attr "type" "*,*,*,load2,store2") (set_attr "arm_pool_range" "*,*,*,1020,*") - (set_attr "arm_neg_pool_range" "*,*,*,1008,*") + (set_attr "arm_neg_pool_range" "*,*,*,1004,*") (set_attr "thumb2_pool_range" "*,*,*,4096,*") (set_attr "thumb2_neg_pool_range" "*,*,*,0,*")] ) @@ -6583,7 +6583,7 @@ [(set_attr "length" "8,12,16,8,8") (set_attr "type" "*,*,*,load2,store2") (set_attr "pool_range" "*,*,*,1020,*") - (set_attr "arm_neg_pool_range" "*,*,*,1008,*") + (set_attr "arm_neg_pool_range" "*,*,*,1004,*") (set_attr "thumb2_neg_pool_range" "*,*,*,0,*")] ) diff --git a/gcc/config/arm/fpa.md b/gcc/config/arm/fpa.md index f2113a98458f849340898bbc8c728d52c4f21b0e..875176b724b2a348a1492db689e40c9b77ff8b5f 100644 --- a/gcc/config/arm/fpa.md +++ b/gcc/config/arm/fpa.md @@ -671,7 +671,7 @@ (set_attr "type" "load1,store2,*,store2,load1,ffarith,ffarith,f_fpa_load,f_fpa_store,r_mem_f,f_mem_r") (set_attr "pool_range" "*,*,*,*,4092,*,*,1024,*,*,*") - (set_attr "neg_pool_range" "*,*,*,*,0,*,*,1020,*,*,*")] + (set_attr "neg_pool_range" "*,*,*,*,0,*,*,1008,*,*,*")] ) ;; Saving and restoring the floating point registers in the prologue should diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index 5cbe5bed2ccb8c2e5d1da9776ca17217724eba3d..94e0a5fd08cefba418ff9e8d94a09af1d8042681 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -198,7 +198,7 @@ (set_attr "insn" "*,*,*,*,*,*,mov,*,*") (set_attr "length" "4,4,4,4,4,4,8,8,8") (set_attr "pool_range" "*,*,*,1020,*,*,*,1020,*") - (set_attr "neg_pool_range" "*,*,*,1008,*,*,*,1008,*")]) + (set_attr "neg_pool_range" "*,*,*,1004,*,*,*,1004,*")]) (define_insn "*neon_mov<mode>" [(set (match_operand:VQXMOV 0 "nonimmediate_operand" @@ -243,7 +243,7 @@ (set_attr "insn" "*,*,*,*,*,*,mov,*,*") (set_attr "length" "4,8,4,8,8,8,16,8,16") (set_attr "pool_range" "*,*,*,1020,*,*,*,1020,*") - (set_attr "neg_pool_range" "*,*,*,1008,*,*,*,1008,*")]) + (set_attr "neg_pool_range" "*,*,*,996,*,*,*,996,*")]) (define_expand "movti" [(set (match_operand:TI 0 "nonimmediate_operand" "") diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md index 0c85c46019b3d6e72f450ffcc416ea4010de8693..1ae0eeb08e0746242f0bc7592fcb90bfa4a79c00 100644 --- a/gcc/config/arm/vfp.md +++ b/gcc/config/arm/vfp.md @@ -178,7 +178,7 @@ (const_int 4))] (const_int 4))) (set_attr "pool_range" "*,*,*,*,1020,4096,*,*,*,*,1020,*") - (set_attr "neg_pool_range" "*,*,*,*,1008,0,*,*,*,*,1008,*") + (set_attr "neg_pool_range" "*,*,*,*,1004,0,*,*,*,*,1004,*") (set_attr "arch" "t2,any,any,any,a,t2,any,any,any,any,any,any")] ) @@ -223,7 +223,7 @@ (const_int 4))) (set_attr "predicable" "yes") (set_attr "pool_range" "*,*,*,*,1020,4096,*,*,*,*,1020,*") - (set_attr "neg_pool_range" "*,*,*,*,1008,0,*,*,*,*,1008,*") + (set_attr "neg_pool_range" "*,*,*,*,1004,0,*,*,*,*,1004,*") (set (attr "ce_count") (symbol_ref "get_attr_length (insn) / 4")) (set_attr "arch" "t2,any,any,any,a,t2,any,any,any,any,any,any")] @@ -460,7 +460,7 @@ (const_int 4))) (set_attr "predicable" "yes") (set_attr "pool_range" "*,*,*,1020,*,1020,*,*,*") - (set_attr "neg_pool_range" "*,*,*,1008,*,1008,*,*,*")] + (set_attr "neg_pool_range" "*,*,*,1004,*,1004,*,*,*")] ) (define_insn "*thumb2_movdf_vfp"