Fix ldrd offsets
commit0d58671cf9b85d18b3a4d2ec785dd95b6bd604db
authorwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Sep 2017 17:23:01 +0000 (4 17:23 +0000)
committerwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Sep 2017 17:23:01 +0000 (4 17:23 +0000)
treee67de2bb38efd630c105828175444df243e7ff52
parent7c78f2e67270187dd755632eafe3a526f4e6df30
Fix ldrd offsets

Fix the ldrd offsets of Thumb-2 - for TARGET_LDRD the range is +-1020,
without -252..4096.  This reduces the number of addressing instructions
when using DI mode operations (such as in PR77308).

    gcc/
* config/arm/arm.c (arm_legitimate_index_p): Add comment.
(thumb2_legitimate_index_p): Use correct range for DI/DF mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251681 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c